td_component_notes
Manage per-COMP markdown notes in TouchDesigner projects: document subnet purpose, wiring rationale, and gotchas. Supports get, set, append, delete, index, and summarize actions.
Instructions
Per-COMP markdown notes — what this subnet does, why it's wired this way,
gotchas, TODOs. External JSON storage by default; embed=True also
writes a hidden Text DAT inside the COMP for portability.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Note body (markdown). Required for set/append. | |
| path | No | COMP path (required for get/set/append/delete; optional for summarize as a subtree filter; omit for index/summarize-all). | |
| tags | No | Optional tags for indexing/search (set/append actions). | |
| embed | No | If True (set action only), also write a hidden Text DAT named `tdpilot_notes` inside the target COMP. Lets the note travel with the .tox/.toe but bloats save files; default is external-only. | |
| action | Yes | One of: 'get' (fetch a single note), 'set' (write/overwrite), 'append' (append with timestamp divider), 'delete', 'index' (list every note for the project), 'summarize' (markdown digest). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |