Search Categories
search_categoriesSearch YNAB categories by name or group with case-insensitive, tokenized matching. Returns ranked results with matched terms, or falls back to listing all categories when no matches found.
Instructions
Search categories by name and category-group name (case-insensitive; multi-word queries are tokenized and OR-matched, ranked with whole-phrase and name hits first). Results report matched_on and matched_terms. No synonym expansion; if a search is empty, fall back to list_categories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Category or group name to search for. Multi-word queries are OR-matched per word (e.g. 'work expenses' matches '💻 Work Expenses (Oliver LLC)' and anything in a 'Business Expenses' group). | |
| budgetId | No | Budget ID (uses default if not provided) | |
| includeHidden | No | If true, also search hidden categories and hidden category groups (default false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |