Find product categories
em_categoriesFind Emalls category IDs by product words or browse top-level and subcategories to retrieve the category_id needed for em_search.
Instructions
Find Emalls category ids by words, or browse the category tree (top level, then children of a category id).
Use it to get the category_id for em_search when the user names a kind of product ("laptops", "fridges").
With query it returns matching categories plus the site's popular search phrases for those words. Without
it, the top-level categories; pass one id as parent_id to see its sub-categories (and brand shortcuts).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Words to find categories for, e.g. لپ تاپ or یخچال. Leave empty to browse the tree. | |
| parent_id | No | List the sub-categories of this category id (from this tool). Empty: top-level categories. |