close_position
Close an open trading position for a specified symbol, such as BTC-PERP, to exit exposure and realize gains or cut losses.
Instructions
Close an open position for a specific symbol
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": {
"symbol": "<symbol>"
},
"name": "close_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Trading pair symbol to close, e.g. BTC-PERP |