goodrx_comparison
Get a GoodRx head-to-head drug comparison by slug (for example lipitor-vs-zetia); returns the key takeaways and both drugs with price-page slugs. Use after 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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |