Detsky Mir Catalog Categories
detmir_categoriesBrowse the Detsky Mir category tree to find product categories and obtain the aliases required for fetching product listings.
Instructions
Browse the Detsky Mir catalog tree and get the aliases detmir_category needs.
This is the discovery step: Detsky Mir has no working text search (see the
module docstring), so the way to find products is to walk the tree and then
list a category. Each node carries its alias and a products_count, so you
can see where the inventory actually is before fetching a listing.
Return Format
DetmirCategoriesResponse: {parent, returned, total_available, items, region, meta}. Items carry category_id, alias, title, full_name, level, products_count, parent_id, url; alias is what detmir_category needs to list a category.
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 |
|---|---|---|---|
| limit | No | Maximum categories to return. | |
| parent | No | 'top' for the 27 top-level sections, or a parent category id to list its children. | top |
| region | No | ISO region code for prices and offline stock, e.g. 'RU-MOW' or 'RU-SPE'. Defaults to DETMIR_REGION. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| items | No | ||
| parent | No | ||
| region | No | ||
| returned | No | ||
| total_available | No |