repay
Settle borrowed asset positions on Kaskad Protocol. Use amount -1 to clear the entire outstanding debt.
Instructions
Repay a borrowed asset on Kaskad Protocol. Pass amount=-1 to repay full debt. Testnet only.
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": {
"asset": "<asset>",
"amount": "<amount>"
},
"name": "repay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Asset symbol | |
| amount | Yes | Amount to repay. Use -1 to repay full debt. | |
| interestRateMode | No | 1 = stable, 2 = variable (default) |