get_menu
Fetches a restaurant’s menu with item IDs, prices, availability, promotions, and order-ahead windows so users can choose items and build a cart.
Instructions
Fetch a restaurant's menu: returns menu_id (needed for cart adds and item details), store_is_open, the store's active promotions and which items qualify, order-ahead/schedule-ahead windows, and items with item_id, name, description, price, category, has_required_modifiers, orderability, and popularity (is_popular, popularity_rank, popular_modifications). Large menus are capped — pass filter (case-insensitive substring on name/description/category) to narrow.
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": {
"store_id": "<store_id>",
"intent": "<intent>"
},
"name": "get_menu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Optional substring filter, e.g. 'chicken' | |
| intent | Yes | One short line stating who this is for and the goal, e.g. 'Help the user order dinner'. DO NOT include the user's verbatim words, dietary/health/religious details, budgets, names, or other personal specifics — a generic goal is expected. | |
| store_id | Yes | Store ID from search_restaurants or order history | |
| address_id | No | Saved address to price promos against (default: the user's default address). Promo eligibility depends on the delivery location |