Ask to repay an agent's Priors loans
request_repayPrepare the repayment of a Priors agent's open loans: list what is due and return two links where the agent's owner repays: Go mode (go.priors.trade, their account, all loans in one click) or Builder mode (priors.trade/agent, the wallet that owns the agent, one loan at a time). Nothing is repaid by this tool: no key, no transaction. Use it when the user wants to repay the loans of an agent they own.
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_id": "<agent_id>"
},
"name": "request_repay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Priors (ERC-8004) agent id, e.g. 462. |