WB Root Info (imt_id)
wb_root_infoFetches Wildberries card metadata to resolve the shared imt_id (root product ID) for a given nmId, enabling review lookup across product variants.
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.
Return Format
WbRootInfoResponse: {imt_id, subj_name, subj_root_name, colors, compositions, options, host_used, meta}. imt_id is the root product id shared by every variant — wb_reviews is indexed by it, 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 | ||
| colors | No | ||
| imt_id | No | ||
| options | No | ||
| host_used | No | ||
| subj_name | No | ||
| compositions | No | ||
| subj_root_name | No |