Read one page
read_pageRead one page of a design as it is NOW — the code the person's editor shows, including their own edits — before changing it. Use it whenever the person asks to change something in a design that already exists: their editor may hold edits you have not seen. The reply carries the page's code, the code every page shares (palette, fonts, helpers), the page's element ids and, when the person has the design open, the element they selected ("this").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Which page, 1 first. | |
| deck_id | Yes | ||
| with_shared | No | Default true: also return the code every page shares (palette, fonts, helpers). Send false when you already have it in this conversation. |