Enhance a TouchDesigner build (LLM-planned)
enhance_buildScore your TouchDesigner network, then generate and optionally apply targeted tool calls to raise the weakest sub-scores. Returns before/after scores and a dispatch log.
Instructions
Run score_build, ask the configured LLM for up to N allowlisted tool calls that would raise the weakest sub-scores, and optionally auto-apply them. autoApply mutates the project and is NOT idempotent (re-runs can stack effects). Allowlist: create_color_grade, apply_post_processing, create_feedback_network, create_feedback_tunnel, bind_to_channel, arrange_network. Returns before/after scores and a dispatch log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopePath | No | Network root to enhance. Forwarded to score_build. | /project1 |
| focusCriterion | No | When set, the planner targets only this axis. errors/perf are excluded (use summarize_td_errors / optimize_performance). | |
| autoApply | No | When true, dispatches each proposed call against the allowlisted tools. Default is preview-only because dispatch mutates the TD project. | |
| maxProposals | No | Cap on proposed (and applied) tool calls. Keeps blast radius small. | |
| targetFps | No | Forwarded to score_build. | |
| rescore | No | When autoApply=true, re-run score_build after dispatch and include after + delta. Ignored when autoApply=false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopePath | Yes | ||
| before | Yes | ||
| proposals | Yes | ||
| applied | Yes | ||
| after | No | ||
| delta | No | ||
| warnings | Yes |