Mostrar imagen de producto
get_product_imageRetrieve a product image by SKU ID and return it as a viewable PNG, with markdown output for direct display in chat. Solve image retrieval needs for product analysis or comparison.
Instructions
Descarga una imagen publica de un SKU y la devuelve como ImageContent PNG para vision del modelo. Para hacerla visible al usuario en Codex, copia tambien en la respuesta final el Markdown de imagen incluido en TextContent.
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": {
"sku_id": "<sku_id>"
},
"name": "get_product_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku_id | Yes | ||
| image_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| height | Yes | ||
| sku_id | Yes | ||
| mime_type | No | image/png | |
| product_id | Yes | ||
| source_url | Yes | ||
| image_index | Yes | ||
| product_name | Yes |