cookunity_order_history
Retrieve detailed past order invoices with meal information, pricing, and billing breakdown for specific date ranges to review delivery history.
Instructions
Get past order invoices with full meal details, prices, reviews, and billing breakdown for a date range. This is the only way to see what meals were in past deliveries.
IMPORTANT: Always call this tool FRESH when the user asks about past orders or meals. NEVER rely on cached or previously returned data.
Args:
from (string, required): Start date YYYY-MM-DD (inclusive)
to (string, required): End date YYYY-MM-DD (inclusive)
limit (number): Invoices per page, default 10 (max 50)
offset (number): Pagination offset
response_format ('markdown'|'json')
Returns (JSON): { total, invoices[{ id, date, total, subtotal, taxes, deliveryFee, tip, discount, orders[{ delivery_date, items[{ name, chef, price, calories, rating, review }] }] }] }
Examples:
Last month: { from: "2026-01-01", to: "2026-01-31" }
Specific week: { from: "2026-02-03", to: "2026-02-09" }
All of 2025: { from: "2025-01-01", to: "2025-12-31", limit: 50 }
Error Handling:
Auth errors suggest checking credentials
Empty results if no invoices in date range
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Start date (inclusive) for invoice range, e.g. '2025-01-01' | |
| to | Yes | End date (inclusive) for invoice range, e.g. '2025-12-31' | |
| limit | No | Number of invoices to return (max 50) | |
| offset | No | Pagination offset | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for structured data | markdown |