List categories
ab_categoriesList product categories with slugs and counts, filter by Persian name or slug, and retrieve category IDs for browsing products.
Instructions
List product categories (about 70) with slugs and counts.
Use to get a category slug. parent = parent category id (0 = top level); count includes out-of-stock.
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": "ab_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Persian name or slug filter, e.g. 'شامپو'. |