modify_position
Adjust stop loss and take profit levels on an open MT5 position. Set either value to 0 to remove that protection.
Instructions
Change stop loss / take profit of an open position. Pass 0 to remove one.
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": {
"ticket": "<ticket>"
},
"name": "modify_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sl | No | ||
| tp | No | ||
| ticket | Yes |