Get spending stats
get_group_statsUse this for spending totals, per-category and per-member breakdowns, the largest expenses and spending over time. Amounts are minor units in the group currency.
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": {
"groupToken": "<groupToken>"
},
"name": "get_group_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Only expenses on this ISO date. | |
| week | No | Filter to a Monday-start week containing the supplied ISO date. | |
| month | No | Filter to a single month, as `YYYY-MM`. | |
| dateRange | No | The period to count, relative to today in Japan. Defaults to `all_time`. | |
| groupToken | Yes | The group's token, from `listGroups` or `listSearchResults`. | |
| categoryToken | No | Only expenses filed under this group category. | |
| participantToken | No | Only expenses this participant paid for or owes a share of. |