delete_category
Remove a category or category group from LunchMoney. Blocks deletion if dependencies exist, unless force is enabled to permanently disassociate linked budgets, transactions, and recurring items.
Instructions
Delete a single category or category group. By default fails (HTTP 422) if dependencies exist, returning a structured dependents payload. Set force=true to delete and disassociate from all related budgets, transactions, recurring items, etc. Force delete is irreversible.
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": {
"category_id": "<category_id>"
},
"name": "delete_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | If true, force deletion even if dependencies exist (irreversible). | |
| category_id | Yes | Id of the category or category group to delete. |