modify_gtt_rule
Adjust an existing GTT rule by changing its price, quantity, or trigger price to keep trading conditions aligned.
Instructions
Modify an existing GTT rule. Change price, quantity, 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": {
"id": "<id>",
"tradingsymbol": "<tradingsymbol>",
"symboltoken": "<symboltoken>",
"exchange": "<exchange>",
"producttype": "<producttype>",
"transactiontype": "<transactiontype>",
"price": "<price>",
"qty": "<qty>",
"disclosedqty": "<disclosedqty>",
"triggerprice": "<triggerprice>",
"timeperiod": "<timeperiod>"
},
"name": "modify_gtt_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | GTT rule ID to modify | |
| qty | Yes | Quantity to trade | |
| force | No | Set true to bypass soft quantity/value limits | |
| price | Yes | Limit price for the order | |
| exchange | Yes | Exchange | |
| timeperiod | Yes | Validity in days (e.g. 365) | |
| producttype | Yes | Product type | |
| symboltoken | Yes | Symbol token from search_scrip | |
| disclosedqty | Yes | Disclosed quantity | |
| triggerprice | Yes | Price at which the order triggers | |
| tradingsymbol | Yes | Trading symbol (e.g. SBIN-EQ) | |
| transactiontype | Yes | BUY or SELL |