Manage Component Storage
manage_component_storageList, get, set, or delete key-value pairs in a TouchDesigner COMP operator's storage dictionary. Requires an existing COMP path.
Instructions
CRUD operations on a COMP operator's .storage dictionary. Actions: list (all keys+values), get (one key), set (write a key), delete (remove a key). No operators are created; the target COMP must already exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full path of the COMP whose storage dict to operate on. | |
| action | Yes | 'list' returns all keys+values; 'get' reads one key; 'set' writes one key; 'delete' removes one key. | |
| key | No | Storage key. Required for get/set/delete; omit for list. | |
| value | No | Value to store under 'key'. Required for set. Must be JSON-serialisable (string, number, bool, list, dict, null). |