Collect project assets
collect_project_assetsScan a TouchDesigner COMP subtree for external file dependencies (images, movies, fonts, etc.) and output a detailed manifest of each reference with its existence status.
Instructions
Scan a COMP subtree for every external file dependency (movie/image file pars, fonts, LUTs, externaltox links) and report each referenced file, the node+parameter that references it, and whether the file currently exists on disk. The TouchDesigner scan is read-only and copies/rewrites nothing in the network; when out_manifest is set, this tool writes that local JSON path and may overwrite an existing manifest. File-par detection uses par.style ('File'/'Folder') when readable, falling back to a suffix/exact name heuristic (file, fontfile, lut, externaltox, moviefile, imagefile) — both UNVERIFIED across TD builds; style_supported records whether par.style was available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent_path | No | Root of the COMP subtree to scan recursively for external file dependencies. | /project1 |
| out_manifest | No | Optional filesystem path to write the JSON asset manifest to. Empty string means do not write a file — just return the inventory. | |
| include_missing_only | No | When true, only report assets whose referenced file does not exist on disk. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent | Yes | Echoed root path that was scanned. | |
| assets | Yes | Every external file dependency found in the subtree (after include_missing_only). | |
| count | Yes | Number of assets reported (after filtering). | |
| missing_count | Yes | How many reported assets are missing from disk. | |
| manifest_path | No | Path the JSON manifest was written to, when out_manifest was set. | |
| warnings | Yes | Per-op / per-par problems encountered while scanning (fail-forward). | |
| style_supported | No | Whether par.style was readable in this TD build (UNVERIFIED attr). When false, only the name heuristic was used. |