place_bracket_order
Place a bracket order with stop loss and square-off target for any symbol across exchanges, with optional trailing stop loss.
Instructions
Place Bracket Order (BO) - order with both stop loss and target
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": {
"trading_symbol": "<trading_symbol>",
"exchange": "<exchange>",
"transaction_type": "<transaction_type>",
"quantity": "<quantity>",
"price": "<price>",
"stoploss": "<stoploss>",
"squareoff": "<squareoff>"
},
"name": "place_bracket_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Order tag | |
| price | Yes | Limit price (mandatory for BO) | |
| broker | No | Specific broker (optional, uses active if not specified) | |
| exchange | Yes | Exchange | |
| quantity | Yes | Number of shares | |
| stoploss | Yes | Stop loss price (mandatory) | |
| squareoff | Yes | Square off/target price (mandatory) | |
| trading_symbol | Yes | Trading symbol | |
| transaction_type | Yes | Transaction type | |
| trailing_stoploss | No | Trailing stop loss (optional) |