get_orders
Retrieve a tenant's recent orders with line items, sorted newest first. Filter by status and set a limit to view order activity efficiently.
Instructions
Returns recent orders with line items for a tenant. Ordered by most recent first.
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": {
"tenant_id": "<tenant_id>"
},
"name": "get_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max orders to return (default 10) | |
| status | No | Filter by order status | |
| tenant_id | Yes | Tenant UUID |