Browse & Select Template
browse_templatesDisplays the cached screenshot-style picker and returns its gallery URL for a device and optional template subset. A project plus prepared catalogKey enables personalized V1/V2 previews; without a catalog it provides static discovery. This read never generates options, applies a style or creates a variant.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browse_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional gallery heading, for example the project name. | |
| projectId | No | Alias of generationId (the project id). | |
| catalogKey | No | Catalog key from prepare_screenshot_styles. Pass together with generationId. | |
| deviceType | No | Which preview device the gallery should show first. | |
| templateIds | No | Optional subset of template ids to show in the gallery. | |
| generationId | No | Project id: the same UUID as projectId from list_projects/get_project (generationId is its legacy name). You may pass projectId instead. Project UUID from prepare_screenshot_styles. Pass together with catalogKey to show the real personalized previews. | |
| selectedTemplateId | No | Optional template id to highlight in the gallery. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| widgetDataJson | No |