Get item macros
get_item_macrosGet calories, protein, carbs and fat for a specific menu item at a restaurant (e.g. "Chipotle chicken burrito bowl"). Returns the closest matching items with match scores. Costs $0.002 USDC; not charged if nothing matches.
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": "<restaurant>",
"item": "<item>"
},
"name": "get_item_macros"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | Menu item to look up, e.g. "chicken burrito bowl" | |
| restaurant | Yes | Restaurant or chain name, e.g. "Chipotle" |