Screenplay
v0.1.7Beautiful screen recordings of any website or desktop app, scripted by your agent.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
screenplay_guide How to make a good screen recording
The guide to writing Screenplay scenarios: the loop, targets, steps, style, voice-over and direction tips. Read it before the first recording.
screenplay_check Check a scenario
Play the scenario quickly without filming. Reports each step; for a missing element, lists the visible targets you can use instead, with a screenshot of where it stopped. It really performs the steps in the app (a click on Send sends, a click on Delete deletes): use a demo account or a staging environment.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path of the scenario JSON file. Prefer an absolute path; a relative one is resolved from the server's working directory. |
scenario | object | Optional scenario object: validated, then written to `path` (overwriting that file), then used. |
screenplay_record Film and edit a scenario
Film the scenario and edit the video. Returns the MP4 path and the storyboard (one image per step): look at it and fix framing, bubbles or data before handing the video over. Takes about the length of the video plus a few seconds per 10 seconds of video. It really performs the steps in the app (a click on Send sends, a click on Delete deletes): use a demo account or a staging environment.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path of the scenario JSON file. Prefer an absolute path; a relative one is resolved from the server's working directory. |
gif | boolean | Also write a GIF. |
noVoice | boolean | Skip the voice-over even if the scenario enables it. |
scenario | object | Optional scenario object: validated, then written to `path` (overwriting that file), then used. |
screenplay_render Edit the last recording again
Re-edit the last recording of this scenario without filming: use it after changing text, narration (say), callouts, style, zoom or output. Changing actions needs screenplay_record. Does not touch the app; writes the video files, and sends new narration text to Cartesia or ElevenLabs when the scenario enables voice-over.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path of the scenario JSON file. Prefer an absolute path; a relative one is resolved from the server's working directory. |
gif | boolean | Also write a GIF. |
noVoice | boolean | Skip the voice-over even if the scenario enables it. |
scenario | object | Optional scenario object: validated, then written to `path` (overwriting that file), then used. |