The action of a drug that may affect the activity, metabolism, or toxicity of another drug.