update_inventory_product_attachment
Update the description or pinned status of a file attached to an inventory product. Pass product ID and attachment ID to modify media metadata.
Instructions
Update description and/or pinned state for a file attached directly to an inventory product. The attachmentId 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. | |
| attachmentId | Yes | Product attachment 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. |