Umsätze zusammenfassen
summarize_transactionsSums booked transactions by month, counterparty, type, or category to answer cash flow and spending questions. Returns income, expenses, net, counts, totals, and separates internal transfers.
Instructions
Sums booked transactions per month, counterparty, transaction type or category: income, expenses, net and
count, plus totals. Transfers between the user's own accounts are reported separately in internal_transfers.
Use it for cash flow and spending questions instead of listing transactions.
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": {
"min_booking_date": "<min_booking_date>"
},
"name": "summarize_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_by | No | month (cash flow), counterparty, type, or category (user's local category rules) | month |
| account_id | No | id from `list_accounts`; default: all EUR accounts together | |
| max_groups | No | Further groups are merged into '(other)' | |
| include_internal | No | Count transfers between the user's own accounts as income/expenses (default: separate) | |
| max_booking_date | No | Last booking date (inclusive), default today | |
| min_booking_date | Yes | First booking date (inclusive) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | Yes | ||
| count | Yes | ||
| groups | Yes | ||
| income | Yes | ||
| currency | No | ||
| expenses | Yes | ||
| group_by | Yes | ||
| account_ids | Yes | ||
| uncategorized | No | group_by=category: the largest counterparties without a matching rule, to propose new rules | |
| history_starts | No | Only set if the period starts earlier: comdirect returns account transactions of the last 180 days, so bookings before this date are missing from the result | |
| groups_truncated | Yes | True if smaller groups were merged into '(other)' | |
| max_booking_date | No | ||
| min_booking_date | No | ||
| internal_transfers | No | Transfers between the user's own accounts, left out of the totals and groups above | |
| transactions_truncated | Yes | True if not all transactions in the range were summarized |