My orders
my_ordersUse this when a signed in customer asks about their recent teas.co.uk orders. limit is how many of the most recent orders to return, newest first, from 1 to 20 (default 5). There is no paging, so raise it only when the customer asks about older orders. Each order includes can_return. An empty list means the linked account has no orders. Without a linked account it returns an error asking the customer to sign in. To follow one order use track_order, to buy an order again use reorder, and to return items use start_return.
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": "my_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many recent orders (default 5). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| orders | Yes |