# update_products

Update one or more products. Required field: product ID. Optional fields: name, target unit count, and target occupancy
percentage. At least one field to update must be provided.

<!-- INPUT_BLOCK_START -->

## Input

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `products` | `UpdateProductInput[]` | Yes | Array of product entries to update - [UpdateProductInput](#updateproductinput) |

### UpdateProductInput

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `productId` | `string` | Yes | The ID of the product to update |
| `name` | `string` | No | The name of the product |
| `targetUnitCount` | `number` | No | The target count of units for this product |
| `targetOccupancyPercentage` | `number` | No | The target occupancy percentage (0-100) |

<!-- 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 -->
