List orders
order_listList orders for an agent ({ orders }). Optional status or open_only filter.
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": {
"agent_id": "<agent_id>"
},
"name": "order_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Optional status filter: PENDING, CONFIRMED, IN_TRANSIT, DELIVERED, ABANDONED (or CANCELLED), FAILED, DISPUTED | |
| agent_id | Yes | Owning agent id whose orders to list | |
| open_only | No | If true, only in-flight orders (PENDING, CONFIRMED, IN_TRANSIT). Ignored when status is set. | |
| session_token | No | Session token from agent_authenticate — required whenever agent_id is passed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| next | No | ||
| error | No | ||
| detail | No | ||
| orders | No |