td_list_operators
List all child operators at a specified path in TouchDesigner to inspect the current network state.
Instructions
List all child operators at a given path in TouchDesigner. Useful for inspecting the current state of a network.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to list children of | /project1 |
Implementation Reference
- server.js:157-177 (registration)Registration of the 'td_list_operators' tool via server.tool() with MCP server. The tool lists all child operators at a given path in TouchDesigner.
server.tool( "td_list_operators", "List all child operators at a given path in TouchDesigner. Useful for inspecting the current state of a network.", { path: z .string() .default("/project1") .describe("Path to list children of"), }, async ({ path }) => { const code = ` children = op('${path}').children result = '\\n'.join([f"{c.name} ({c.type}) at ({c.nodeX}, {c.nodeY})" for c in children]) result if result else "No operators found" `.trim(); const result = await tdExecute(code); return { content: [{ type: "text", text: result }], }; } );