tx_list
Filter and retrieve financial transactions by type, account, category, member, merchant, project, date range, or tag; returns paginated records plus total count and summary sums.
Instructions
查询账目,支持按 type/account/category/member/merchant/project/日期区间/tag 过滤,倒序返回。返回 total(命中总数)、pages、sum(跨页全部合计)与当前页 records。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": "tx_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | 说明关键词 | |
| to | No | ||
| tag | No | ||
| from | No | ||
| page | No | 第几页(从 1 开始),与 pageSize 配合 | |
| type | No | ||
| year | No | 按年查询(只给年份即可) | |
| limit | No | 兼容旧参数;没给 page 时生效,默认 50 | |
| member | No | ||
| offset | No | 兼容旧参数;没给 page 时生效 | |
| userId | No | ||
| account | No | ||
| project | No | ||
| category | No | ||
| merchant | No | ||
| pageSize | No | 每页条数,默认 50,上限 5000 | |
| categoryId | No | 按分类 id 过滤,含其全部子分类 | |
| includeArchived | No |