okx_get_grid_ai_param
Retrieve AI-recommended parameters for grid trading strategies on OKX, supporting spot, contract, and moon grids for a given 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": {
"instId": "<instId>",
"algoOrdType": "<algoOrdType>"
},
"name": "okx_get_grid_ai_param"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instId | Yes | 产品ID,如 BTC-USDT、BTC-USDT-SWAP | |
| direction | No | 合约网格方向(仅contract_grid需要) | |
| algoOrdType | Yes | 网格类型:grid=现货网格,contract_grid=合约网格,moon_grid=天地网格 |