Prepare a loan against land
borrow_against_landPrepare borrowing USDC from the DeFi lending pool against a property the wallet holds (Sepolia Testnet), for amountUsd over durationDays (the pool's offered length closest to it, default about 30 days). Checks first that the wallet holds the token, the property backs no active loan, the pool lends against it and the amount is within the pool's current maximum (estimate_land_borrowing shows it). The rate and repayment come from the pool's live quote on the sign page. This is a test loan on Sepolia with no real-world effect. Prepared, not sent: returns a signRequest (summary, warnings, signLink to fabrica.land, expiresAt 15 minutes out, payload null for now) and stores it so the sign page can load it. The person opens the link, signs in with that wallet and signs; nothing happens until then. The server holds no keys and submits nothing. wallet is the address that will sign.
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": {
"amountUsd": "<amountUsd>",
"wallet": "<wallet>"
},
"name": "borrow_against_land"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Property slug from the URL | |
| wallet | Yes | The wallet that will sign (0x address). The sign page only lets this wallet sign. | |
| tokenId | No | The token ID of the property | |
| amountUsd | Yes | Principal to borrow in US dollars, paid in USDC; at most what estimate_land_borrowing shows as maxBorrow | |
| durationDays | No | Loan length in days. The sign page uses the pool's offered length closest to it (default: the one closest to 30 days) |