Scaffold a new demo
init_demoScaffold a demo folder with a starter brief and storyboard; optionally inspect a live page URL to draft scenes and potential interaction steps for narration and click setup.
Instructions
Create demos// with a starter brief + storyboard. dir is the repo to scaffold into (absolute path recommended; default: server cwd). With fromUrl the page is inspected first (no LLM): its headings become scenes and its unique selectors become the beats + a _candidates list — you then write the narration and turn the candidate hover into the real click.
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": {
"name": "<name>"
},
"name": "init_demo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | ||
| name | Yes | demo name (creates demos/<name>/) | |
| force | No | ||
| fromUrl | No | draft the storyboard from this live page | |
| profile | No | fromUrl: Chrome user-data dir (logged-in pages) | |
| headless | No | fromUrl: run Chrome headless (default true) | |
| viewport | No | fromUrl: viewport (default 1280x720) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| demoDir | Yes | ||
| briefPath | Yes | ||
| storyboardPath | Yes |