td_cook
Force-cook a TouchDesigner operator to resolve stale buffers when results appear outdated. Optionally recurses into descendants to fix nested components.
Instructions
Force-cook an operator (and optionally its descendants).
TouchDesigner does not always re-cook operators inside a nested
baseCOMP referenced indirectly, so a stale buffer can make a correct
edit look broken. Call this on the parent COMP whenever results look
stale before debugging anything else. Returns {cooked, totalCookTimeMs, errors}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "td_cook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Operator/COMP path to cook (use '/' for the root). | |
| recurse | No | Also cook descendants (default true). | |
| response_format | No | Output format: 'json' (default) or 'markdown'. | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |