Execute TD Brain Plan
td_brain_executeExecute a BrainPlan for TouchDesigner with transactional validation, rollback on failure, and optional local learning.
Instructions
DEFAULT apply path for a BrainPlan: use this when you already have a BrainPlan from td_brain_plan (or a draft from td_brain_propose) and need TDPilot to apply it transactionally with validation, rollback, and optional local learning. Prefer the lower-level td_transaction_apply only when you hold a ready PatchPlan/BrainPlan and want to drive raw transaction controls yourself (no grounding, no learning). Do not use the legacy td_plan_patch / td_patch_* pipeline for new builds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | BrainPlan dict returned by td_brain_plan. Raw free text is not accepted here. Omit when passing plan_id instead. | |
| plan_id | No | ID of the most recent td_brain_plan result. Server-side lookup — avoids echoing the full multi-KB plan back through the host context window (and the silent-corruption risk of hosts that re-serialize large tool arguments). Provide exactly one of plan or plan_id. | |
| repair_budget | No | Optional bounded auto-repair attempts. Omitted preserves legacy zero-repair behavior. | |
| learn_on_success | No | Persist a compact validated task trace to td_knowledge_* memory. | |
| transaction_policy | No | 'rollback_on_failure' (default), 'dry_run', or 'no_rollback'. | rollback_on_failure |
| confirm_visual_payload | No | Reserved for future image payload confirmation; currently no large images returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||