WB Root Info (imt_id)
wb_root_infoResolve any nmId to its imt_id (root ID) to access reviews across all product variants from Wildberries basket CDN metadata.
Instructions
Fetch full card metadata from basket CDN. Returns imt_id (root_id) for review pool.
All variants of one product share imt_id. Reviews indexed by imt_id, NOT by nmId.
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 |
|---|---|---|---|
| nm_id | Yes | nmId (positive integer). The SKU whose basket CDN card.json is fetched for imt_id resolution. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Validation metadata. | |
| colors | No | Color names list. | |
| imt_id | No | Root product id (imt_id) shared by all variants. | |
| options | No | Product options (max 30). | |
| host_used | No | Basket CDN host used. | |
| subj_name | No | Subject name (mojibake-decoded). | |
| compositions | No | Compositions data. | |
| subj_root_name | No | Root subject name (mojibake-decoded). |