Validate a script
tourwright_validateValidate a tour script's structure offline—fields, actions, and variables—before running it. Returns OK or a list of errors to fix; check live-site targets separately.
Instructions
Check the structure of a script (fields, actions, variables) without opening any website: fast, offline. Returns { ok } or the list of errors to fix. To know whether its targets still exist on the live site, use tourwright_check.
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 | |
| script | Yes | The script: an object, or YAML/JSON text. Read tourwright_guide first for the format. |