cancel_order
Cancel a live order on your TastyTrade account by providing the account number and order ID.
Instructions
Cancel a live order on a TastyTrade account.
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_number": "<account_number>",
"order_id": "<order_id>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | The numeric order ID to cancel | |
| account_number | Yes |