close_leverage
Reduce or close a leverage position in 10% increments by providing the position ID and a percentage.
Instructions
Close (or partially close) a leverage position. 10% increments.
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": {
"position_id": "<position_id>"
},
"name": "close_leverage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position_id | Yes | Leverage position ID | |
| percentage | No | 10-100, divisible by 10 (default: 100) |