WB Catalog Categories
wb_categoriesBrowse the Wildberries catalog tree to discover categories and subcategories before searching. Start at the top level, then expand the branch you need using each node's shard and query selectors.
Instructions
Browse the Wildberries catalog tree.
Use this to discover what exists before searching: wb_search needs a query
string, but a shopper's question is often "what categories of humidifiers are
there?". Each node carries WB's own shard and query selectors, which are
the addressing needed to pull a category feed.
The live menu is ~800 KB, so responses are always a bounded slice — start at 'top', then expand the branch you care about.
Full field list and error codes: guide://wb/wb_categories.
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": "wb_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | 'top' for the top-level sections, or a category name / URL path / id to expand (e.g. 'Электроника', '/catalog/elektronika', '8126'). | top |
| max_depth | No | How many levels below the root to include. 1 = direct children only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| root | No | ||
| items | No | ||
| host_used | No | ||
| max_depth | No | ||
| truncated | No | ||
| total_returned | No |