cancel_order
Cancel an existing order on Bybit. Specify the category and symbol, along with either the order ID or custom link ID.
Instructions
Cancel an existing order (MEDIUM risk - no confirmation required).
Args:
category: Product type - spot, linear, inverse, option
symbol: Symbol name
orderId: Order ID (either orderId or orderLinkId required)
orderLinkId: User custom order 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": {
"category": "<category>",
"symbol": "<symbol>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| orderId | No | ||
| category | Yes | ||
| orderLinkId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |