Prepare Personalized Screenshot Styles
prepare_screenshot_stylesGenerates or reuses personalized screenshot-layout candidates for every phone, tablet and desktop template. Returns a catalogKey, templateIds and galleryUrl for cached V1/V2 picker display. Matching app context and source paths reuse cached candidates. Preparation does not create a variant or open a picker.
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": {
"selectedScreenshotPaths": "<selectedScreenshotPaths>"
},
"name": "prepare_screenshot_styles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Alias of generationId (the project id). | |
| deviceType | No | Initial preview device. All three device layouts are prepared regardless. Defaults to phone. | |
| 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/generation UUID. | |
| selectedScreenshotPaths | Yes | 3-7 unique project-relative paths from list_source_screenshots, in the desired story order. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| widgetDataJson | No |