close_position
Close one or more OTC positions by confirming the close order with confirm=true. Manage your positions directly.
Instructions
Close one or more OTC positions. Requires confirm=true.
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": {
"close_order": "<close_order>"
},
"name": "close_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| close_order | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||