qianji_get_stats
Calculate income and expense totals by currency and group them by category, day, month, asset, or type, with optional base-currency estimates for account or receipt-based bills.
Instructions
账户收支用 account;旅行消费原币用 receipt(仅本地有票面且已入账的账单)。按币种分别合计,可另取参考估值。
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": "qianji_get_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| basis | No | account | |
| month | No | ||
| bookId | No | ||
| currency | No | ||
| dimension | No | category | |
| includeBaseEstimate | No | 以查询时可用汇率估值,返回报价日期及未折算笔数 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basis | Yes | ||
| count | Yes | ||
| range | Yes | ||
| buckets | Yes | ||
| timeZone | Yes | ||
| dimension | Yes | ||
| baseEstimate | No | ||
| excludedCount | Yes | ||
| totalsByCurrency | Yes |