repay_loan
Repay a loan by generating an unsigned transaction with auto-approval and slippage protection. Provide the borrower wallet address and loan ID to create the transaction.
Instructions
Build unsigned tx to repay a loan with auto-approval and slippage protection. Requires any Floe API key (agent floe_... or developer floe_live_...).
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": {
"wallet_address": "<wallet_address>",
"loan_id": "<loan_id>"
},
"name": "repay_loan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loan_id | Yes | Loan ID | |
| slippage_bps | No | Slippage tolerance (500 = 5%) | |
| wallet_address | Yes | Borrower wallet |