Render a video or a guide
tourwright_renderQueue a product-tour script to render a narrated video and/or step-by-step guide as HTML, PDF, or Word, returning links or a job ID for polling.
Instructions
Queue a script for rendering: a video, and/or a step-by-step guide as HTML, PDF or Word (options.export). With wait=true (default) it waits until it is ready and returns its links (and local paths), duration, chapters and captions; otherwise it returns the job id to poll with tourwright_job.
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": {
"script": "<script>"
},
"name": "tourwright_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vars | No | Values for the script variables ({{name}}): the same script makes a different video per set of values | |
| wait | No | Wait for the video (default true); false returns the job id at once, to poll with tourwright_job | |
| assets | No | Files the script refers to by name (images, your own background music, uploads), base64-encoded: { "theme.mp3": "<base64>" } and music: theme.mp3 | |
| script | Yes | The script: an object, or YAML/JSON text. Read tourwright_guide first for the format. | |
| options | No | Render settings that override the script | |
| waitSeconds | No | How long to wait for the video before returning the job as it is (default 900) |