preview_panel
Return a small server draft PNG immediately, with revision, hash, dimensions, missing inputs and render warnings. No export job or ZIP is created. Optional expectedRevision prevents inspecting a changed design. Missing copy uses neutral defaults matching gallery and editor and remains reported; explicitly empty strings stay empty. Saved copy is unchanged and the stored scene keeps its tokens. Use export_project with reuse:true and preview_render for exact final PNGs.
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": {
"projectId": "<projectId>",
"position": "<position>"
},
"name": "preview_panel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| family | No | iphone | |
| locale | No | Omit for the project’s main localization. | |
| maxSide | No | ||
| position | Yes | ||
| projectId | Yes | ||
| expectedRevision | No |