modify_position
Set a position's stop loss and take profit prices to manage risk and lock in gains; use 0 to remove either level.
Instructions
Set a position's stop loss and take profit (prices; 0 removes it).
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": {
"account_id": "<account_id>",
"ticket": "<ticket>"
},
"name": "modify_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sl | No | ||
| tp | No | ||
| ticket | Yes | ||
| account_id | Yes |