Bind a Text DAT to a vault note
bind_vault_textCreate a Text DAT in TouchDesigner linked to a vault note, loading its text into TD and syncing live with Obsidian edits for your visuals.
Instructions
CREATE a Text DAT in TouchDesigner whose file parameter points at a vault note, so the note's text loads into TD (and, with sync:true, stays live as you edit it in Obsidian) — turning the vault into the text/lyrics source for your visuals. Side effect is node creation in TD plus reading the note file; it does not write to the vault. Wire the DAT into a Text TOP to render it. Returns the DAT path, the resolved note, the absolute file path, and whether sync is on. Requires a configured TDMCP_VAULT_PATH.
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": {
"note": "<note>",
"parent_path": "<parent_path>"
},
"name": "bind_vault_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the Text DAT (defaults to a slug of the note). | |
| note | Yes | Vault-relative note to read into TD (lyrics, poetry, any text content). | |
| sync | No | Keep the DAT synced to the file, so edits in Obsidian show up live in TD. | |
| parent_path | Yes | Parent COMP to create the Text DAT inside. |