cancel_order
Deletes a pending MetaTrader 5 order using its account ID and ticket, preventing it from being executed.
Instructions
Delete a pending order.
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": {
"account_id": "<account_id>",
"ticket": "<ticket>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticket | Yes | ||
| account_id | Yes |