okx_borrow_repay
Borrow or repay cryptocurrency on OKX. Specify coin, amount, and direction to manage loan positions.
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": {
"ccy": "<ccy>",
"side": "<side>",
"amt": "<amt>"
},
"name": "okx_borrow_repay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amt | Yes | 数量。必填 | |
| ccy | Yes | 币种。必填 | |
| side | Yes | 方向。borrow=借币, repay=还款 |