cancel_order_by_id
Cancel a specific trading order using its unique ID to manage positions and control risk in the Alpaca trading platform.
Instructions
Cancel a specific order by its ID.
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_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | order id |