Transform Layout
transform_layoutApplies scoped operations to saved screenshot layouts. Hosted edits require a fresh same-target read receipt. Every target requires nodeType; missing nodeId matches all nodes of that type within the selected screens. Dot-notation preserves sibling fields; null removes a field. Defaults to mobile only. Independent formatId edits and resetFormat are supported. Layout, font, device and asset validation occurs before saving.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| atomic | No | ||
| layouts | No | Which layout sizes to transform. Defaults to ['mobile']; include 'tablet' / 'desktop' only when the user asks for them. | |
| formatId | No | Edit this phone format instead of mobile/tablet/desktop. Never combine with layouts. Existing independent formats do not follow later mobile edits. | |
| language | Yes | ||
| projectId | No | Alias of generationId (the project id). | |
| variantId | No | ||
| operations | No | ||
| readReceipt | No | Hosted connector only: pass the readReceipt returned by the immediately preceding get_layout call. | |
| resetFormat | No | With formatId and no operations, remove that format override so it follows the main layout again. Requires a fresh get_layout read receipt. | |
| generationId | No | Project id: the same UUID as projectId from list_projects/get_project (generationId is its legacy name). You may pass projectId instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| widgetDataJson | No |