report_by_category
Summarize transaction amounts and counts by category, optionally filtered by expense or income type, date range, or user, to support spending analysis and reporting.
Instructions
按分类汇总金额与笔数。type 默认 EXPENSE,可加 from/to 日期区间。userId 可选。
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": "report_by_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| type | No | ||
| userId | No |