Manage custom parameters
add_custom_parametersAdd, edit, delete, sort, and organize custom parameters on a TouchDesigner COMP transactionally, with rollback on failure and support for multiple parameter types.
Instructions
Transactionally add, edit, delete, sort, and organize a COMP's custom parameters through an authenticated structured TouchDesigner route. Legacy page+params calls remain valid. Supports Float, Int, Toggle, Str, Menu, Pulse, Header, OP, TOP, File, Folder, XYZW, RGBA, RGB, and XYZ; EXPRESSION and BIND are reversible. EXPORT is explicitly HELD and returns an error without mutation. Built-ins are protected, failures roll back to the exact prior custom-page snapshot, and no raw Python or /api/exec fallback is used.
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": {
"comp_path": "<comp_path>"
},
"name": "add_custom_parameters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Custom | |
| params | No | ||
| comp_path | Yes | ||
| operations | No | ||
| idempotency_key | No |