okx_order_precheck
Prevalidate order parameters for OKX trading to catch invalid inputs before submission, preventing errors and failed trades.
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": {
"params": "<params>"
},
"name": "okx_order_precheck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | 订单参数JSON字符串,如 '{"instId":"BTC-USDT","tdMode":"cash","side":"buy","ordType":"limit","sz":"0.001","px":"60000"}' |