withdraw_collateral
Build an unsigned transaction to withdraw excess collateral from a loan. Provide the loan ID and amount to proceed.
Instructions
Build unsigned tx to withdraw excess collateral. 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": {
"loan_id": "<loan_id>",
"amount": "<amount>"
},
"name": "withdraw_collateral"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to withdraw | |
| loan_id | Yes | Loan ID |