get_order_history
Retrieve past DoorDash orders to analyze ordering habits, find reorder targets, or locate a specific order; scan all results and re-query wider if the page is full.
Instructions
Past orders (default 50 orders / 90 days, max 100 / 365): store, items (item_id, name, quantity), order_date, order_fulfilled_at, order_uuid, is_reorderable, fulfillment_type, is_group_order. Rows carry no total and no per-item price — use get_receipt for money. Use to analyze habits ('my usual'), find reorder targets, or locate a specific past order (scan all results; if page_full, re-query higher/wider).
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": {
"intent": "<intent>"
},
"name": "get_order_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Max orders 1-100 (default 50) | |
| days | No | Window in days, up to 365 (default 90) | |
| 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. | |
| include_group_order | No | Also return group orders the user hosted or joined — pass when the question is about a team/office/shared order |