okx_get_open_interest
Fetch open interest data for cryptocurrency futures, swaps, and options. Specify instrument type and optional product ID.
Instructions
[L:READ] 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_get_open_interest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instId | No | 产品ID,不填则返回全量 | |
| instType | Yes | 产品类型。SWAP=永续, FUTURES=交割, OPTION=期权 |