modify_order
Modify pending stock orders by updating price, quantity, order type, or trigger price to adjust your trading strategy.
Instructions
Modify an existing pending order. Change price, quantity, order type, or trigger 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": {
"variety": "<variety>",
"orderid": "<orderid>",
"ordertype": "<ordertype>",
"producttype": "<producttype>",
"duration": "<duration>",
"price": "<price>",
"quantity": "<quantity>",
"tradingsymbol": "<tradingsymbol>",
"symboltoken": "<symboltoken>",
"exchange": "<exchange>"
},
"name": "modify_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Set true to bypass soft quantity/value limits | |
| price | Yes | New price | |
| orderid | Yes | Order ID to modify | |
| variety | Yes | Order variety | |
| duration | Yes | Order duration | |
| exchange | Yes | Exchange | |
| quantity | Yes | New quantity | |
| ordertype | Yes | New order type | |
| producttype | Yes | Product type | |
| symboltoken | Yes | Symbol token | |
| triggerprice | No | New trigger price (for SL orders) | |
| tradingsymbol | Yes | Trading symbol |