Preview a catalog
preview_catalogThe catalog as a whole: returns the page list and livePreviewUrl, a read-only page that shows the catalog exactly as it renders and reloads by itself whenever the catalog changes, keeping the page the viewer is on. For "show me", "what does it look like", or following edits as they land. Nothing opens beside the chat; preview_page shows ONE page, or a few, as pictures beside the chat. Reads the catalog and changes nothing.
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>"
},
"name": "preview_catalog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| catalogId | Yes | Catalog id, as returned by list_catalogs |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | Yes | ||
| title | Yes | ||
| total | Yes | Pages in the catalog | |
| catalogId | Yes | ||
| editorUrl | Yes | ||
| viewerUrl | No | ||
| livePreviewUrl | Yes | A read-only page that reloads itself whenever the catalog changes |