td_create_op
Create a new operator in TouchDesigner by specifying parent path and operator type, with optional name, parameters, and network position.
Instructions
Create a new operator in TouchDesigner.
Args: parent: Parent path (e.g. "/project1") op_type: TD operator class name (e.g. "noiseCHOP", "constantTOP", "textDAT") name: Optional name for the new operator params: Optional dict of parameters to set immediately after creation nodeX: Optional X position in the network editor. Use td_find_empty_space to get a non-overlapping position. nodeY: Optional Y position in the network editor. Use td_find_empty_space to get a non-overlapping position.
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": {
"parent": "<parent>",
"op_type": "<op_type>"
},
"name": "td_create_op"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| nodeX | No | ||
| nodeY | No | ||
| params | No | ||
| parent | Yes | ||
| op_type | Yes |