protect_position
Attach post-hoc reduce-only TP/SL triggers to an open position. Paper executes immediately.
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": {
"market": "<market>"
},
"name": "protect_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sl | No | Stop-loss trigger price in USD | |
| tp | No | Take-profit trigger price in USD | |
| market | Yes | Symbol of the open position, e.g. BTC |