cancel_order
Cancel a specific order on Bybit by providing the trading pair and order ID, with an optional product type category.
Instructions
Cancel a specific order.
Args: symbol: The trading pair. order_id: Order ID to cancel. category: Product type: spot, linear, inverse (default: spot).
Returns: Cancellation result.
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": {
"symbol": "<symbol>",
"order_id": "<order_id>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| order_id | Yes | ||
| category | No | spot |