update_inventory_product_photo
Update the description or pinned status of a photo attached to an inventory product using the product ID and photo ID.
Instructions
Update description and/or pinned state for a photo attached directly to an inventory product. The photoId must belong to the resolved product.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes | Inventory product ID or exact product name. Pass category when duplicate product names may exist. | |
| category | No | Optional category ID or exact category name used to disambiguate duplicate product names. | |
| photoId | Yes | Product photo ID. Must belong directly to the resolved inventory product. | |
| description | No | Optional media description. Use null on update to clear it. | |
| pinned | No | Whether the media item should be pinned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The successful tool result. The same value is also serialized as JSON in the text content for clients that do not read structuredContent. | |
| warnings | No | Optional agent-visible warnings about degraded result fidelity. Omitted when the server returned the documented happy-path payload. |