Read a design
get_designRead-only
Outline of 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 it before changing a design; render_design shows how it looks. timeline: true adds what moves on each layer and when (the keyframes of node_id when given).
Input Schema
TableJSON 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. |