One page of a catalog, as a picture
preview_page_imageUsed by the preview panel, which calls it for each page as it scrolls into view: returns one page as a rendered image URL. preview_page is the tool that shows pages to the merchant.
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": {
"catalogId": "<catalogId>",
"index": "<index>"
},
"name": "preview_page_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Zero-based page index, from preview_page. | |
| catalogId | Yes | Catalog id, as returned by list_catalogs |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| state | Yes | ||
| targets | No | ||
| imageUrl | No |