update_category
Modify category properties in LunchMoney, including name, description, income classification, budget inclusion, totals calculation, archival status, and group assignment.
Instructions
Update the properties for a single category or category group.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
input | Yes |
Input Schema (JSON Schema)
{
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"archived": {
"default": false,
"description": "Whether or not category should be archived.",
"type": "boolean"
},
"categoryId": {
"description": "Id of the category or category group to update. Execute the get_all_categories tool first, to get the category ids.",
"type": "string"
},
"description": {
"default": "",
"description": "Description of category. Must be less than 140 characters.",
"type": "string"
},
"exclude_from_budget": {
"default": false,
"description": "Whether or not transactions in this category should be excluded from budgets.",
"type": "boolean"
},
"exclude_from_totals": {
"default": false,
"description": "Whether or not transactions in this category should be excluded from calculated totals.",
"type": "boolean"
},
"group_id": {
"description": "Assigns the newly-created category to an existing category group.",
"type": "number"
},
"is_income": {
"default": false,
"description": "Whether or not transactions in this category should be treated as income.",
"type": "boolean"
},
"name": {
"description": "Name of category. Must be between 1 and 40 characters.",
"type": "string"
}
},
"required": [
"name",
"categoryId"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}