modify_order
Update an existing open Upstox order by changing its price, quantity, order type, validity, trigger price, or disclosed quantity before execution.
Instructions
Modify an existing open order.
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": "modify_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | ||
| order_id | Yes | ||
| quantity | No | ||
| validity | No | ||
| order_type | No | ||
| trigger_price | No | ||
| disclosed_quantity | No |