cancel_order
Cancel a synthetic local paper order by order ID in the Flyrel sandbox. Use it to test order lifecycle workflows; orders held at an external broker cannot be cancelled.
Instructions
Cancel one synthetic local order. Cannot cancel orders at an external broker.
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_id": "<order_id>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | ||
| broker_id | No | paper |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||