Manage Component Storage
manage_component_storageManage key-value data stored in TouchDesigner COMP operators with list, get, set, and delete actions. Target an existing COMP to read or modify its storage dictionary.
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 |
|---|---|---|---|
| key | No | Storage key. Required for get/set/delete; omit for list. | |
| path | Yes | Full path of the COMP whose storage dict to operate on. | |
| value | No | Value to store under 'key'. Required for set. Must be JSON-serialisable (string, number, bool, list, dict, null). | |
| action | Yes | 'list' returns all keys+values; 'get' reads one key; 'set' writes one key; 'delete' removes one key. |