Manage custom parameters
add_custom_parametersTransactionally add, edit, delete, sort, and organize custom parameters on TouchDesigner COMPs, with rollback on failure.
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 and require TDMCP_RAW_PYTHON=on plus TDMCP_BRIDGE_ALLOW_EXEC=1 because their source is caller-supplied code. Constant and page-lifecycle operations remain available in restricted mode. EXPORT is explicitly HELD and returns an error without mutation. Built-ins are protected and failures roll back to the exact prior custom-page snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Custom | |
| params | No | ||
| comp_path | Yes | ||
| operations | No | ||
| idempotency_key | No |