amend_order
Modify an open order's quantity or price on Bybit. Provide symbol and order ID, optionally update qty or price.
Instructions
Amend (modify) an existing open order.
Args: symbol: The trading pair, e.g., BTCUSDT. order_id: Order ID to amend. category: Product type: spot, linear, inverse (default: spot). qty: New quantity (optional, leave empty to keep unchanged). price: New price (optional, leave empty to keep unchanged).
Returns: Amendment 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": "amend_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| order_id | Yes | ||
| category | No | spot | |
| qty | No | ||
| price | No |