Spending by category
get_category_breakdownDebit entries for one category in one ledger-month (amounts in currency units, not cents).
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": {
"ledger_id": "<ledger_id>",
"month": "<month>",
"category_slug": "<category_slug>"
},
"name": "get_category_breakdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| month | Yes | Calendar month YYYY-MM. For a year-less month, use the most recent occurrence on or before the current month. | |
| ledger_id | Yes | ||
| category_slug | Yes |