Ask to borrow on an agent's Priors line
request_borrowPrepare a borrow on a Priors agent's credit line: check that the agent can borrow this amount for this many days now, and return two links where the agent's owner confirms it: Go mode (go.priors.trade, their account) or Builder mode (priors.trade/agent, the wallet that owns the agent). Nothing is borrowed by this tool: no key, no transaction. Use it when the user wants to borrow USDG for an agent they own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | Loan term in days: 7, 14 or 30 (the terms Go mode offers). | |
| agent_id | Yes | Priors (ERC-8004) agent id, e.g. 462. | |
| amount_usd | Yes | USDG to borrow, e.g. 5. |