create_borrow_intent
Build an unsigned transaction to create a borrow request, then Floe's solver matches it with lenders for credit.
Instructions
Build unsigned tx to create a borrow request. Solver matches it with lenders. 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>",
"borrow_amount": "<borrow_amount>",
"collateral_amount": "<collateral_amount>",
"max_interest_rate_bps": "<max_interest_rate_bps>",
"min_duration_days": "<min_duration_days>",
"max_duration_days": "<max_duration_days>"
},
"name": "create_borrow_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market_id | No | Market ID (bytes32). Omit to use the USDC/USDC same-token market on Base Mainnet — the recommended default for AI agents (no price risk, only interest-accrual liquidation). | |
| min_ltv_bps | No | Min LTV in bps (default 8000 = 80%). For agents pushing the USDC/USDC market to 99% LTV, pass 9900. Same-token markets need only a 50bps gap to the lender's max_ltv_bps; volatile markets need 800bps. | |
| borrow_amount | Yes | Amount to borrow in raw token units | |
| wallet_address | Yes | Borrower wallet | |
| collateral_amount | Yes | Collateral in raw token units | |
| max_duration_days | Yes | Max duration in days | |
| min_duration_days | Yes | Min duration in days | |
| max_interest_rate_bps | Yes | Max annual rate in bps |