goodrx_comparison
Compare two drugs on GoodRx by slug to retrieve head-to-head key takeaways, both drug names, and their price-page and information slugs. Use a comparison or drug-info slug.
Instructions
Get a GoodRx drug comparison. Returns a GoodRx head-to-head drug comparison's key takeaways and the two drugs compared, with their price-page and information slugs. Use a slug from /goodrx/comparisons or /goodrx/drug-info alternatives.
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": {
"slug": "<slug>"
},
"name": "goodrx_comparison"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Comparison slug |