Draft recipe from technique
draft_recipe_from_techniqueGenerate a RecipeSchema draft from an embedded TouchDesigner technique, extracting GLSL source without file writes or bridge calls.
Instructions
Read-only: convert an embedded TouchDesigner technique with GLSL source into a RecipeSchema draft without writing files or touching the TD bridge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Optional recipe id override. | |
| name | No | Optional recipe display name override. | |
| tags | No | Extra recipe tags to append. | |
| strict | No | Return an error when the technique cannot be converted to a valid draft. | |
| category | Yes | Technique pack category id or display name. | |
| difficulty | No | Optional recipe difficulty override. | |
| description | No | Optional recipe description override. | |
| technique_id | Yes | Technique id or name inside the selected category. | |
| td_version_min | No | Minimum TouchDesigner version. | 2023 |
| include_glsl_code | No | Include technique GLSL source in the draft recipe's glsl_code block. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| recipe | No | ||
| source | Yes | ||
| warnings | Yes | ||
| validation | Yes | ||
| nextToolHints | Yes |