Start the local Studio web UI
riv_studioLaunch a local web UI to live-preview and edit .riv files via hierarchy selection, live inspector edits, timeline markers, hot reload, and state-machine input controls.
Instructions
Start a local web UI (Rive-editor-like 3-pane layout) for live-previewing and editing a .riv file: hierarchy tree + click/drag selection on canvas + inspector (position/size/color/text edits apply live), timeline with keyframe markers, hot reload on file change, auto-generated state machine input controls, event log, and (with scenePath) direct scene-JSON editing. The UI also has an 'Instructions for AI' box — fetch those with riv_studio_notes. Re-running riv_create/riv_edit on the watched file updates the browser instantly. Only one studio runs at a time.
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": {
"path": "<path>"
},
"name": "riv_studio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The .riv file to preview (watched for changes) | |
| port | No | Port (default 8787) | |
| stop | No | Stop the running studio instead | |
| share | No | Also open a READ-ONLY view on the LAN (default false: Studio listens on 127.0.0.1 only). Returns a URL with an unguessable token; viewers can play/scrub/drive state-machine inputs but cannot edit, save, chat or write files. Plain HTTP, so only share on a network you trust. | |
| scenePath | No | Scene spec JSON path — enables the edit+rebuild panel | |
| shareHost | No | Local IPv4 address to listen on for the read-only view (default: the auto-detected LAN address; '0.0.0.0' = all interfaces) | |
| sharePort | No | Port for the read-only view (default: port + 1) |