Get Product Images
ps_get_product_imagesFetches all image URLs for a specified PrestaShop product by product ID, returning each image's ID and full URL.
Instructions
Get all image URLs for a specific product.
The PrestaShop Webservice exposes product images at: {PS_API_URL}/api/images/products/{product_id}/{image_id}
This tool fetches the product to retrieve its image IDs, then constructs the full URLs.
Args:
id_product: Product ID (required)
Returns: Array of image objects with id and URL for each image associated with the product.
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": {
"id_product": "<id_product>"
},
"name": "ps_get_product_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_product | Yes | Product ID |