# unarchive_product_groups

Unarchive one or more product groups (1-25) in a single bulk call, restoring each to inactive. Every requested group
must currently be archived — the whole call is rejected otherwise. Each requested group is unarchived together with its
kept child product groups; a requested id that is itself a kept child is rejected — unarchive its parent instead.
Returns the unarchived count and ids (including cascaded child groups).

<!-- INPUT_BLOCK_START -->

## Input

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `productGroupIds` | `string[]` | Yes | IDs of the product groups to unarchive (1-25), each restored to inactive together with its kept child product groups. Every requested group must currently be archived; a requested id that is itself a kept child is rejected. |

<!-- INPUT_BLOCK_END -->

<!-- OUTPUT_BLOCK_START -->

## Output

| Field | Type | Description |
| --- | --- | --- |
| `content` | `ContentItem[]` | Array of content items returned by the tool - [ContentItem](#contentitem) |
| `isError` | `boolean` | Whether the tool execution resulted in an error |

### ContentItem

| Field | Type | Description |
| --- | --- | --- |
| `type` | `'text'` | Content type (currently only 'text' is supported) |
| `text` | `string` | The text content to display |

<!-- OUTPUT_BLOCK_END -->
