stats
Aggregates expense or income amounts and transaction counts by category, subcategory, day, month, or tag, returning totals and percentage shares for reporting.
Instructions
统计:按分类/天/月/标签汇总金额、笔数、占比(口径同 overview)
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": {
"by": "<by>"
},
"name": "stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | 分组维度 | |
| to | No | ||
| from | No | ||
| type | No | 默认 expense | |
| month | No | ||
| include_excluded | No |