Lint recipe library
lint_recipe_libraryValidates recipe JSON files with semantic checks including schema, naming, connections, and hygiene. Returns structured error reports to help correct issues before using in TouchDesigner.
Instructions
Offline semantic linter for recipes/*.json. Checks schema, id/filename match, duplicate node names, unknown operator types, dangling connections, bad parents, render-outside-geometryCOMP, missing parameter nodes, unresolved control bind_to, GLSL uniforms on non-GLSL hosts, and hygiene (tags/description/preview_description). Returns a structured report; never calls TouchDesigner.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipe_id | No | If set, lint only this one recipe (matched by id); otherwise lint all. | |
| severity | No | Minimum severity to include in the result. | warn |
| rules | No | Subset of rule ids to run; default runs every rule. | |
| fail_on | No | Severity at which the tool returns isError (CLI maps to exit code). | error |