update_product_image
Update the alt text, position, or variant assignments of a product image in Shopify.
Instructions
Update a product image (change alt text, position, or variant assignments).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"product_id": "<product_id>",
"image_id": "<image_id>"
},
"name": "update_product_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | The numeric Shopify product ID. | |
| image_id | Yes | The numeric image ID. | |
| alt | No | New alt text. | |
| position | No | New position (1 = first). | |
| variant_ids | No | Variant IDs to additionally associate this image with. |