group_transactions
Group or ungroup Lunch Money transactions to combine multiple entries into one or restore original records.
Instructions
Group or ungroup Lunch Money transactions.
action="group": Combine multiple transactions into one grouped transaction. Provide ids (array of transaction IDs), date (YYYY-MM-DD), and payee (required). Optionally set category_id, notes, tag_ids. The grouped transaction amount equals the sum of the original amounts. action="ungroup": Provide id of the group parent to restore original 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": {
"action": "<action>"
},
"name": "group_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Group parent ID (required for ungroup) | |
| ids | No | Transaction IDs to group (required for group) | |
| date | No | Date for grouped transaction YYYY-MM-DD (required for group) | |
| notes | No | Notes for grouped transaction | |
| payee | No | Payee for grouped transaction (required for group) | |
| action | Yes | group or ungroup | |
| tag_ids | No | Tag IDs for grouped transaction | |
| category_id | No | Category ID for grouped transaction |