add_collateral
Add collateral to a loan by building an unsigned transaction. Use any Floe API key to secure credit or maintain loan health.
Instructions
Build unsigned tx to add collateral to a 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>",
"amount": "<amount>"
},
"name": "add_collateral"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Collateral amount in raw token units | |
| loan_id | Yes | Loan ID | |
| market_id | No | Market ID | |
| wallet_address | Yes | Wallet adding collateral |