Add Expense
add_expenseRecord a new expense by providing a date, amount, category, and required subcategory, with an optional note. Ensures entries match valid categories for accurate tracking and summaries.
Instructions
Add a new expense. category and subcategory are required and must come from the data://categories resource. If a category's subcategory list is empty, any descriptive subcategory text is acceptable, but it must not be left blank.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| note | No | ||
| amount | Yes | ||
| category | Yes | ||
| subcategory | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||