okx_get_spread_books
Retrieve the order book for a specific spread contract on OKX. Provide the spread contract ID to get current bid and ask data for spread trading strategies.
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": {
"sprdId": "<sprdId>"
},
"name": "okx_get_spread_books"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sprdId | Yes | 价差合约ID。必填 |