okx_convert_trade
Convert one cryptocurrency to another on OKX exchange by specifying the sell currency, buy currency, and quantity.
Instructions
[L:WRITE] 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": {
"fromCcy": "<fromCcy>",
"toCcy": "<toCcy>",
"sz": "<sz>"
},
"name": "okx_convert_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sz | Yes | 卖出数量。必填 | |
| toCcy | Yes | 买入币种,如 BTC。必填 | |
| fromCcy | Yes | 卖出币种,如 USDT。必填 |