get_all_categories
Retrieve all account categories in alphabetical order. Optionally nest subcategories or filter by category group.
Instructions
Get a list of all categories associated with the user's account. Returns categories in alphabetical order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | If `flattened`, returns a singular array of categories. If `nested`, returns top-level categories (either category groups or categories not part of a category group) in an array, with subcategories nested within the category group under the property children. Defaults to flattened. | |
| is_group | No | If true, returns only category groups. If false, returns only categories that are not category groups. |