video_workflow_validate
Validate a video workflow job-spec JSON for structural correctness, ensuring ops, references, ordering, and path safety pass checks before rendering.
Instructions
Validate an agent workflow job-spec without rendering any media.
Runs the fail-closed structural validator over the JSON job-spec at
spec_path: op allowlist (probe|trim|resize|convert|merge|add_text|composite_layers),
symbolic @ref resolution (@sources., @work/, @outputs.),
backward-reference-only ordering (a step may reference @work outputs from
strictly-earlier steps only), per-op param introspection, and
workspace-confined path safety (absolute paths and ../ / symlink escapes
fail closed).
Returns a structured verdict ({"valid": true, ...}) on success. On any
structural violation it fails closed with a specific error code
(invalid_workflow_spec, unknown_workflow_ref,
unsupported_workflow_op, unsafe_workflow_source,
invalid_workflow_params).
Args: spec_path: Absolute path to the workflow job-spec JSON file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||