amend_order
Modify an existing order's quantity, price, or triggers on Bybit. Confirm changes to update spot, linear, inverse, or option orders.
Instructions
Amend an existing order (HIGH risk - requires confirmation).
Args:
category: Product type - spot, linear, inverse, option
symbol: Symbol name
orderId: Order ID (either orderId or orderLinkId required)
orderLinkId: User custom order ID
qty: New order quantity
price: New order price
triggerPrice: New trigger price
takeProfit: New take profit price
stopLoss: New stop loss price
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": "amend_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | No | ||
| price | No | ||
| symbol | Yes | ||
| orderId | No | ||
| category | Yes | ||
| stopLoss | No | ||
| takeProfit | No | ||
| orderLinkId | No | ||
| triggerPrice | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |