set_brackets
Set or clear stop loss and take profit levels on an open position to manage risk and lock in profits.
Instructions
Add, change, or clear stop loss / take profit on an open position.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_brackets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | If true, clear both stop loss and take profit | |
| symbol | No | Symbol if position_id omitted | |
| stop_loss | No | Stop loss price | |
| position_id | No | Position id (often the symbol) | |
| take_profit | No | Take profit price |