svg_validate
Validate SVG files and directories for quality issues: check viewbox, stroke/fill presence, size limits, and audit web or pack projects.
Instructions
SVG quality assurance. operation: validate | viewbox | stroke_fill | size_limits | audit_web | audit_pack (a whole directory). Paint detection reads style= AND presentation attributes AND inherited paint, so Inkscape-authored files are not falsely reported as empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | Filename glob when auditing a directory. | |
| operation | No | Which operation to run. See the tool summary for valid values. | |
| input_path | No | Source file to read. | |
| max_dimension | No | Fail above this width or height in px. | |
| max_file_size_mb | No | Fail above this file size. | |
| min_painted_shapes | No | Fail below this many painted shapes. |