get_product_images
Retrieve product images from specific perspectives (e.g., front, back) using product ID. Defaults to "front" view. Optionally specify store location. Use after identifying available perspectives with get_product_details.
Instructions
Get an image for a specific product from the requested perspective.
Use get_product_details first to see what perspectives are available (typically "front", "back", "left", "right").
Args:
product_id: The unique product identifier
perspective: The image perspective to retrieve (default: "front")
location_id: Store location ID (uses preferred if not provided)
Returns:
The product image from the requested perspective
Input Schema
Name | Required | Description | Default |
---|---|---|---|
location_id | No | ||
perspective | No | front | |
product_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"location_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Location Id"
},
"perspective": {
"default": "front",
"title": "Perspective",
"type": "string"
},
"product_id": {
"title": "Product Id",
"type": "string"
}
},
"required": [
"product_id"
],
"type": "object"
}