Expense summary
expense_summaryWhat this account spent, from its Expense Center: the total for a window (default the last 90 days), split by category, property and vendor, with the latest expenses. Void, refunded and draft expenses are left out. total_spent is null — not zero — when it could not be read, and degraded names any part that failed. Rent and repairs have their own tools.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "expense_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO date — window end (default today). | |
| days | No | Window in days ending today (1-730, default 90). Ignored when `from` is given. | |
| from | No | ISO date — window start. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| note | No | ||
| recent | No | ||
| degraded | No | ||
| by_vendor | No | ||
| truncated | No | Present and true when the result was too large to return in full. Treat it as a partial answer. | |
| by_category | No | ||
| by_property | No | ||
| total_spent | No | ||
| generated_at | No | ||
| expense_count | No | ||
| total_available | No | How many rows existed before truncation. |