order_wait
Wait until the order reaches a state. Exits 9 on timeout; call again to keep waiting.
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": {
"order": "<order>"
},
"name": "order_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| for | No | Target: quoted, change, paid, accepted, shipped, ready_for_pickup, delivered. | |
| order | Yes | Order id (ord_…). | |
| timeout | No | Seconds to wait, at most 120 (default 25). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| summary | No | ||
| warnings | No | ||
| next_actions | Yes |