goodrx_get_coupon
Retrieve discount coupon details for prescription drugs at specific pharmacies. Provides BIN, PCN, Group, and Member ID required for pharmacy checkout.
Instructions
Get a GoodRx discount coupon for a specific drug at a pharmacy. Returns BIN, PCN, Group, and Member ID needed at checkout.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"drug_name": "<drug_name>"
},
"name": "goodrx_get_coupon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drug_name | Yes | Name of the drug | |
| pharmacy | No | Pharmacy name (e.g., "CVS", "Walgreens") | |
| dosage | No | Dosage (e.g., "10mg") | |
| quantity | No | Number of pills (default: 30) | |
| zip_code | No | ZIP code for the pharmacy location |