demo_vid_script_validate
Validate a narration script's structure and timing, checking for required fields and reasonable timings to ensure valid formatting.
Instructions
Validate a narration script for structure and timing.
Checks that the script has required fields ('steps'), each step has an 'action',
and timing values are reasonable.
## Return Format
{"success": bool, "message": str, "errors": list | None}
## Examples
await demo_vid_script_validate(script_yaml="title: Test
duration_target: 30 steps:
action: goto url: / wait: 2 ")
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_yaml": "<script_yaml>"
},
"name": "demo_vid_script_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_yaml | Yes | YAML narration script content. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||