Cancel a multi-account order
cancel_multi_account_orderCalls off a multi-account order on the user's real broker accounts (or demo) before anything is sent. Once orders went out, close the positions with close_multi_account_order instead. Example: {"multi_account_order_id": "", "idempotency_key": ""}
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": {
"multi_account_order_id": "<multi_account_order_id>",
"idempotency_key": "<idempotency_key>"
},
"name": "cancel_multi_account_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idempotency_key | Yes | A unique string you generate for THIS action, e.g. a fresh UUID. If a call fails or times out and you retry the same action, send the SAME key: fxapis then returns the first result instead of acting twice. Use a new key only for a genuinely new action. | |
| multi_account_order_id | Yes | The multi-account order id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| multi_account_order | Yes |