okx_get_trades
Fetch recent trade history for a specific instrument on OKX. Provide the product ID and optionally set the number of trades to return.
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": {
"instId": "<instId>"
},
"name": "okx_get_trades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回条数,默认20 | |
| instId | Yes | 产品ID |