add_category
Create single or multiple expense/income categories in the budget library, with optional descriptions, to organize transactions for better tracking.
Instructions
Create one or more categories in the category library.
Supports single category parameters OR a batch list/dict of items in items.
items: Optional list of dicts. Each dict can contain: {"name": str, "type": "expense"|"income", "description": str}.
name: Unique category name (used if items is omitted).
type: Category type ('expense' or 'income', defaults to 'expense').
description: Optional description explaining what belongs in this category.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| type | No | expense | |
| items | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |