Detsky Mir Catalog Categories
detmir_categoriesBrowse the Detsky Mir catalog tree to discover product categories and obtain category aliases, using product counts to locate inventory before fetching 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.
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 | Validation metadata. | |
| items | No | Categories at this level. | |
| parent | No | Requested parent: 'top' or the parent category id/alias. | |
| region | No | ISO region the listing applies to. | |
| returned | No | Number of categories returned. | |
| total_available | No | Total categories at this level, when reported. |