WB Catalog Categories
wb_categoriesExplore the Wildberries catalog hierarchy to find product categories and retrieve the shard and query selectors needed for category feed queries.
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.
Error Format
On validation or transport/parse failure, raises ToolError with a JSON message describing the error code and whether it is retryable.
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 | Validation metadata. | |
| root | No | Requested root: 'top' or the resolved category name. | |
| items | No | Category nodes at the requested root. | |
| host_used | No | Static CDN host that served the menu. | |
| max_depth | No | Depth limit applied to this response. | |
| truncated | No | Whether the slice was cut short by node limits. | |
| total_returned | No | Total nodes in the returned slice. |