get_categories
Retrieve all budget categories and groups from your YNAB budget to manage spending targets and track financial allocations.
Instructions
Get all categories for a budget.
Args:
budget_id: The ID of the budget (use 'last-used' for default budget)
include_hidden: Include hidden categories and groups (default: False)
Returns:
JSON string with category groups and categories
Input Schema
Name | Required | Description | Default |
---|---|---|---|
budget_id | Yes | ||
include_hidden | No |
Input Schema (JSON Schema)
{
"properties": {
"budget_id": {
"title": "Budget Id",
"type": "string"
},
"include_hidden": {
"default": false,
"title": "Include Hidden",
"type": "boolean"
}
},
"required": [
"budget_id"
],
"type": "object"
}