get_order_history
Fetch paginated Grubhub order history to review past purchases, items, and dates. Requires authentication.
Instructions
Get past order history (paginated). Requires authentication.
Pagination is server-side via the search_listing endpoint, so the
full history is reachable -- iterate page_num from 1 up to
pagination.total_pages in the response.
Args: page_size: Orders per page (default 20) page_num: 1-based page number (default 1)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_order_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_num | No | ||
| page_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |