add-product-media
Attach images to an existing Shopify product by public URL. Shopify processes media asynchronously, so verify images reach READY before relying on them.
Instructions
Attach images to an existing product by public URL. Shopify processes media asynchronously: new items usually start as UPLOADED or PROCESSING. Use get-product-media to confirm they reach READY.
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": {
"productId": "<productId>",
"media": "<media>"
},
"name": "add-product-media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media | Yes | Images to attach to the product | |
| productId | Yes | Shopify product GID (e.g. gid://shopify/Product/123) |