dzengi_close_position
Close a leverage position to finalize trades and trigger the associated financial settlement. Confirm the position ID and symbol to execute the mutation once; verify account balance afterward before retrying.
Instructions
Close a leverage position with a financial side effect. This mutation is sent once; an unknown outcome requires account reconciliation before any retry.
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": {
"clientRequestId": "<clientRequestId>",
"confirm": "<confirm>",
"symbol": "<symbol>",
"positionId": "<positionId>"
},
"name": "dzengi_close_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| confirm | Yes | ||
| positionId | Yes | ||
| clientRequestId | Yes |