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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "td_list_operators"
}
}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 }], }; } );