okx_mass_cancel
Cancel all open orders for a specified product type (SPOT, MARGIN, SWAP, FUTURES, OPTION) on OKX, with optional product family filter.
Instructions
[L:WRITE] CAT:[交易] | → 请先调用 agent_catalog
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": {
"instType": "<instType>"
},
"name": "okx_mass_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instType | Yes | 产品类型 | |
| instFamily | No | 产品族,如 BTC-USDT。仅合约需填 |