Course categories
mkh_categoriesRetrieve the Maktabkhooneh category tree to find slugs for browsing courses, or search categories by title and see full paths. Returns the 11 top-level groups, a subtree, or query matches.
Instructions
Category tree (about 680 nodes in 11 top-level groups): slugs for mkh_browse, mkh_free_courses, mkh_cheapest, mkh_deals.
No arguments = the 11 top-level groups with their sub-categories. slug = one subtree. query = title search with path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Show this category and what is below it, e.g. 'programming'. | |
| depth | No | Levels of sub-categories to show below slug (default 1; top level when no slug). | |
| query | No | Find categories by title, e.g. 'پایتون' or 'زبان'. |