Quote a loan
quote_loanThe exact fee for borrowing an amount of USDG for a number of days on an agent's line, read from the lens contract.
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": {
"agent": "<agent>",
"amount": "<amount>",
"days": "<days>"
},
"name": "quote_loan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | ||
| agent | Yes | ERC-8004 agent id on Robinhood Chain | |
| amount | Yes | USDG |