liquidate_loan
Build an unsigned transaction to liquidate an unhealthy loan. Specify wallet address, loan ID, and max repayment to initiate liquidation via Floe's credit API.
Instructions
Build unsigned tx to liquidate an unhealthy loan. 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>",
"max_repayment": "<max_repayment>"
},
"name": "liquidate_loan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loan_id | Yes | Loan ID | |
| market_id | No | Market ID | |
| max_repayment | Yes | Max amount willing to pay | |
| wallet_address | Yes | Liquidator wallet |