update_category
Update an existing category by ID. Use when the user wants to rename, recolor, or change the icon of a category. Returns the updated category records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | New icon identifier, or null to clear it. | |
| name | No | New category name. | |
| color | No | New hex color code (e.g. "#4CAF50"). | |
| categoryId | Yes | ID of the category to update. |