Add a cursor that moves and clicks
make_cursorAdd an animated pointer to a design: an arrow, a named pill or a touch dot that glides through stops ({x, y, t, click}) with eased moves; each click presses it and spreads a ripple. Adds one new group on top of every layer each call and returns its group_id. Saved as a new revision that undo reverts; if any part is refused, nothing changes. Use it to walk through product UI in a demo, with make_list selections at the same times; to move other layers use animate, and to remove the cursor edit_structure delete.
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>",
"stops": "<stops>",
"intent": "<intent>"
},
"name": "make_cursor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| size | No | Size of the arrow in px (default 40). | |
| color | No | Cursor colour (default near-black). | |
| label | No | Pill style: the name on it. | |
| stops | Yes | The path: at least one stop; it glides between them. | |
| style | No | ||
| intent | Yes | One short sentence: what you change and why. Kept in the design history. | |
| ripple | No | Ripple colour (default the cursor colour). | |
| page_id | Yes | The page to work on, as returned by create_design. |