validate_dsl
Validate a PDF template DSL script for structure, tag/style correctness, and accessibility issues. Runs catalog validation plus alt-text checks. Cheap — no rendering. Mirrors POST /api/v1/preview/validate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dsl | Yes | The builder DSL script to validate. Must define a template (see skills/pdf-template-author.md). | |
| data | No | Optional binding data. Falls back to the script's sampleData when omitted. |