cancel_tpsl
Cancel take-profit and stop-loss orders by providing instrument ID and TPSL ID. Accepts a JSON array of cancel objects.
Instructions
Cancel take-profit/stop-loss orders. Accepts a JSON array of cancel objects.
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": {
"orders": "<orders>"
},
"name": "cancel_tpsl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orders | Yes | JSON array string of cancel objects. Each needs: instId, tpslId. Optional: clientOrderId. E.g. [{"instId":"BTC-USDT","tpslId":"123"}] |