List categories
bn_categoriesList shop categories with slugs and product counts, ordered by product count. Use a parent slug to browse subcategories or a query to search all categories.
Instructions
List shop categories with slug and product count, biggest first.
No arguments: top-level sections. Use parent to open one, query to search all. Counts include
out-of-stock products. Hundreds of SEO subcategories under 'tv' hold the same products. Slug goes to bn_browse.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "bn_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max categories. | |
| query | No | Name or slug contains this, e.g. 'یخچال'. | |
| parent | No | Parent slug, to list its subcategories, e.g. 'home-appliances'. |