Run macro script
run_macro_scriptReplay MacroRecord JSON files to dispatch tool calls in TouchDesigner, with dry-run, stop-on-error, and argument override options.
Instructions
Replay a MacroRecord JSON file by dispatching each entry through the in-process tool handlers. Use dryRun to plan without invoking, stopOnError to halt on first failure, argsOverrides to shallow-merge per-tool arg replacements, and allowRawPython to opt-in to raw-Python entries (still subject to the server-side ctx gate). Redacted args from a recording may fail at the tool boundary; do not un-redact.
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": {
"macroPath": "<macroPath>"
},
"name": "run_macro_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | ||
| macroPath | Yes | ||
| stopOnError | No | ||
| argsOverrides | No | ||
| allowRawPython | No |