Add Media to Shopify Product
shopify_add_product_mediaAttach images or videos to a Shopify product using publicly reachable URLs. Shopify fetches each URL asynchronously; verify with shopify_get_product_by_id if media fails.
Instructions
Attach images or video to a product from publicly reachable URLs.
Shopify fetches each URL asynchronously, so media comes back with status UPLOADED/PROCESSING and becomes READY shortly after. A URL Shopify cannot reach fails silently into a FAILED status — re-read the product with shopify_get_product_by_id to confirm.
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": "shopify_add_product_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media | Yes | ||
| productId | Yes | Product GID |