grubhub_offers
Fetch the active public promotions for a Grubhub restaurant, including offer terms and savings. Use this when comparing available deals; use the restaurant's menu tool for purchasable items.
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": {
"restaurant_id": "<restaurant_id>",
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "grubhub_offers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | Yes | Required. Diner location latitude. | |
| longitude | Yes | Required. Diner location longitude. | |
| restaurant_id | Yes | Required. Grubhub restaurant id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |