Product categories
bm_categoriesFind category IDs by name or browse the category tree: no arguments lists top sections, parent_id lists children, and the returned IDs feed bm_browse or bm_search.
Instructions
Find category ids by name, or walk the tree: no arguments lists the top sections, parent_id lists children.
Pass an id to bm_browse or bm_search.
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": "bm_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max categories. | |
| query | No | Name part, e.g. 'مانتو'. | |
| parent_id | No | List children of this category id. |