Inspect or edit a click-through prototype
canvas_prototypeList a canvas prototype and broken links (no edits), or apply edits atomically. Artboard names and object names or paths resolve to stable IDs. Commands: {op:"start",board:"home"}; {op:"action",board:"home",object:"Continue",type:"go",target:"details"} (use area:{x,y,w,h} in canvas coordinates in place of object for a hotspot, and label for accessibility); trigger:"click"|"hover" (hover supports state, open, dismiss, and mode, with optional revert:true); transition:{kind:"none"|"fade"|"slide"|"morph",dur?:0..3000,ease?:string} ("morph" Smart Animates matching named objects across states or artboards); type:"mode" with target:"dark"|"light"|"toggle" switches kit color mode live; type:"canvas" opens the normal page of another canvas in the same design project (target is its canvas ID or link and the viewer needs access); type:"back" returns in the navigation stack. {op:"state",board,name,options:{notes:["Notes group"],transcript:["Transcript group"]},default:"notes"} switches top-level groups; overlay:true with one option makes a panel, closed by default. Action type:"state" takes target (state name or ID) and option; "open" and "dismiss" take an overlay target. {op:"audio",board,offset:0,duration:12,clips:[{id,name,from:0}]} attaches one or two uploaded clips over the same duration; clip from is a file-relative offset and offset is the displayed timeline origin. Optional display names a text object and playhead:{object,dx} moves a drawn playhead horizontally in canvas units. Action types "toggle", "seek" (seconds on the displayed timeline), "clip" (target clip ID). To change an action, reuse its id or source object and artboard; to remove, {op:"remove",kind:"actions"|"states"|"audio",id} or select by board plus object/name (board alone for audio). upload:true gives a short-lived WAV upload URL. Canvas_edit {frames:{rename:{from,to}}} renames a frame while keeping incoming links.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "canvas_prototype"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edits | No | ||
| canvas | No | ||
| upload | No | ||
| expected_revision | No |