Sync Layout to Translations
sync_layoutCopies a screenshot variant's source-language design to its other languages while retaining translated text and language-specific screenshots. Existing language-specific design tweaks are replaced. Optional missing-image fill and changed-text translation are supported.
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": "sync_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Alias of generationId (the project id). | |
| variantId | No | ||
| generationId | No | Project id: the same UUID as projectId from list_projects/get_project (generationId is its legacy name). You may pass projectId instead. | |
| fillMissingImages | No | ||
| translateChangedText | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| widgetDataJson | No |