cancel_fund_order
Cancel an in-transit fund order that was never executed and return the amount to ledger cash. Only orders still in transit can be cancelled.
Instructions
Cancel an in-transit off-exchange fund order that was never executed
(the user withdrew it on the fund platform): the amount returns to ledger
cash. Only orders still in transit can be cancelled — a confirmed order
already holds shares (use sell to book a redemption).
Confirm with the user before calling; this moves ledger cash.
Args: order_id: The in-transit order to cancel.
Returns: Cash returned and new balance, or {"status": "error", "error": ...}.
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_fund_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | order_id of an in-transit order (status 'placed'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |