List categories
bn_categoriesList shop categories with slugs and product counts, biggest first. Filter by parent slug or keyword to find the right category for browsing products.
Instructions
List shop categories with slug and product count, biggest first.
Without arguments returns the top-level sections. Use parent to open one, or query to search all of them.
Counts include out-of-stock products. The shop has hundreds of SEO-style subcategories under 'tv'
(e.g. 'best tv', 'tv price'); they hold the same products. Pass a slug to bn_browse as category.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max categories to return. | |
| query | No | Only categories whose name or slug contains this, e.g. 'یخچال' or 'tv'. | |
| parent | No | Slug of a parent category to list its subcategories, e.g. 'home-appliances'. |