Get Layout
get_layoutReturns saved screenshot layouts for one variant and language, including independent phone-format layouts, an editor link and a same-target editing read receipt. Main/mobile changes do not implicitly update independent phone formats. Read-only.
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": "get_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sign | No | ||
| language | No | Required for editing: use the exact language from the project's translations. If omitted, this only lists translations; call get_layout again with a returned language before transform_layout. | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| widgetDataJson | No |