Read a design
get_designRead a design's layers after layout: id, type, name, box [x, y, w, h] in design px, text, colours, layout flow and each layer's etag, plus the fonts used. Read-only. Use it before changing a design, for the layer ids update_layers and edit_structure take; to see the design use render_design, and to find problems check_layout. compact shortens the reply, node_id with depth reads one branch, time gives positions at a moment of the motion, with_preview adds a small picture, and timeline: true adds what moves on each layer and when (with node_id, its keyframes).
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": {
"page_id": "<page_id>"
},
"name": "get_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | ||
| depth | No | Levels of children to include (all when omitted). | |
| intent | No | Optional: a few words on why. | |
| compact | No | A shorter reply, to look rather than edit. | |
| node_id | No | Describe only this layer and what is inside it. | |
| page_id | Yes | The page to work on, as returned by create_design. | |
| timeline | No | Also return the timeline: length, still time, choreography and what moves on each layer and when; with node_id, that layer's keyframes [time, value]. | |
| with_preview | No | Also return a small picture of the scene (at `time`, default 0). | |
| timeline_detail | No | Like timeline, with keyframes as {t, value, easing, hold} to tune with edit_keyframes. |