Export walkthrough
export_walkthroughSave a completed walkthrough as a shareable MP4 video or offline HTML file for sending, attaching, or keeping, after narration finishes.
Instructions
Save a walkthrough as one file the user can keep or forward: an MP4 video (H.264 and AAC, with a subtitle track) or a self-contained HTML page that plays offline in a browser. Call it after finish_walkthrough and the fixes its reply names. It waits up to five minutes for narration still being voiced, then renders; an MP4 takes about a tenth of its length plus a few seconds. Use it when the user asks for a video, or for a file to share, send or attach. MP4 needs ffmpeg and Playwright Chromium, HTML neither; the error says what is missing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Where to write. Empty: a file named after the title in the project folder. Relative: inside the project folder. Absolute: that path, inside a folder the client shares. Must end in .mp4 or .html to match `format`. An existing file is overwritten. | |
| format | No | mp4 (default): a video for chat apps, email and phones. html: one page that plays offline in a browser. | mp4 |
| handle | Yes | Handle from start_walkthrough or list_walkthroughs. | |
| max_mb | No | Size limit in MB. An MP4 over it is shrunk, first lower audio bitrate, then 720p; if it still does not fit, the call fails: split the walkthrough or raise the limit. An HTML page over it fails. 0: no limit. Omit for the server default: 16 (WhatsApp's video limit) when the user receives files, otherwise none. Other channels: Telegram bots 50, Signal 100, email often 25. |