Prepare a borrow
prepare_borrowAn UNSIGNED borrow transaction (to, data, value) on Robinhood Chain for the agent's owner, its registry wallet or an operator to sign. Includes the fee quote and a 1% fee guard.
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>",
"to": "<to>"
},
"name": "prepare_borrow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | address that receives the USDG | |
| days | Yes | ||
| agent | Yes | ERC-8004 agent id on Robinhood Chain | |
| amount | Yes |