Income read: who actually paid an agent (outside payers vs own wallets, loans, swaps)
income_readPaid, 0.90 USDG over x402: every USDG into an agent wallet over N days (max 60) by payer, with its own wallets, loans and swap proceeds split out from outside payers. Each Priors or Longbow (Morpho Blue) loan in the window as a loop: the borrow (and its collateral), every USDG the wallet paid out while it was open, and the repayment that closed it, with txs.
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>"
},
"name": "income_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | days back, max 60 | |
| agent | Yes | ERC-8004 agent id, or a wallet 0x… |