create_category
Create a new transaction category. Supports nested categories via parentId — child categories inherit the parent color if none is provided. Use when the user wants a new category to classify transactions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | Optional icon identifier for the category. | |
| name | Yes | Category name. | |
| type | No | Category type: "custom" (default, user-editable) or "internal" (system-managed). | |
| color | No | Hex color code (e.g. "#4CAF50"). Inherited from parent if omitted. | |
| parentId | No | ID of the parent category to create a subcategory. |