Add product photo
add_product_imageAdds one photo to a product from a public image URL. Shoots start from a product photo, so use it when a product has none suitable. Not available on Shopify stores: add photos to the product in Shopify instead.
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>",
"url": "<url>"
},
"name": "add_product_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | A public image URL: PNG, JPEG or WebP, at most 15 MB. | |
| product_id | Yes | The product id (a UUID) from list_products. |