Spend category brief
wever_spend-category-briefAgent Treasury: submit one period of transactions (amount, asset, counterparty, category where given, timestamp). The signed brief gives totals and shares by category, the top counterparties by spend, the largest single payments and how many transactions arrived uncategorized. Any period; the month-end close pack with receipts, refunds and exceptions is wever_expense-close-pack. Verdict fully_categorized or partly_uncategorized. POST /api/spend-category-brief. Reads only the material in the call: no wallet, chain, market, bank or counterparty lookup, and no money movement. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-treasury-contract. Human page: https://weverlabs.com/agent-treasury/.
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": {
"transactions": "<transactions>"
},
"name": "wever_spend-category-brief"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Rows in the top counterparty and largest payment lists. Defaults to 5. | |
| asset | No | Asset for transactions that state none. | |
| label | No | Optional name recorded in the report. | |
| period | No | Optional period bounds. | |
| transactions | Yes | Transactions for one period. |