Build an animated list
make_listAdd rows of UI (a ranked list, inbox, settings, search results) with text and an optional value on the right; rows spring in one after another and a highlight slides from row to row at the select times. static: true builds a still list or table instead. Adds one new group each call and returns its group_id. Saved as a new revision that undo reverts; if any part is refused, nothing changes. Use it for list and table UI; pair it with make_cursor clicks at the same times, and for free text blocks use create_layers.
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>",
"items": "<items>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"intent": "<intent>"
},
"name": "make_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Top-left of the list and its width. | |
| y | Yes | ||
| gap | No | ||
| fill | No | Row fill (default white), text colour (default near-black). | |
| name | No | ||
| color | No | ||
| items | Yes | ||
| start | No | Seconds: when rows start arriving, and between rows (default 0.07). | |
| width | Yes | ||
| accent | No | Highlight fill and the text colour on it. | |
| intent | Yes | One short sentence: what you change and why. Kept in the design history. | |
| select | No | The highlight's path: it lands on each row in turn. | |
| static | No | A still list or table (ranked rows, a ledger, an answer key): a column layout flow of row frames, each a row flow with a Label text filling the width and an optional Value on the right. No motion, no highlight (`select`, `start`, `stagger` are refused). Edit rows later with update_layers like any flow. | |
| divider | No | Static lists: a hairline under each row but the last, in this colour (rows then have no fill unless `fill` is given). | |
| page_id | Yes | The page to work on, as returned by create_design. | |
| stagger | No | ||
| numbered | No | Number each row (1, 2, 3...), for ranked lists. | |
| font_size | No | ||
| parent_id | No | ||
| row_height | No | Row height px (default 64) and gap between rows (default 10). | |
| accent_text | No | ||
| font_family | No |