Prepare Personalized Social Graphics Styles
prepare_social_graphics_stylesGenerates or reuses personalized layout candidates across supported social, store-creative and ad formats. Returns a catalogKey, templateIds and galleryUrl for cached picker display. Matching app context and screenshot 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_social_graphics_styles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Alias of generationId (the project id). | |
| generationId | No | Project id: the same UUID as projectId from list_projects/get_project (generationId is its legacy name). You may pass projectId instead. | |
| primaryFormat | No | Format to preview first. Defaults to og. | |
| selectedScreenshotPaths | Yes | 1-7 unique project-relative paths for app_store_header; 3-7 for other formats. Use paths from list_source_screenshots, in story order. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| widgetDataJson | No |