Make portable tox
make_portable_toxConvert a live TouchDesigner COMP into a portable .tox package with a manifest, README, and optional documentation for reuse.
Instructions
Save one live TouchDesigner COMP as a portable .tox package on disk, then write a tdmcp-component manifest beside it and optionally copy docs/README files. Use this for packaging a finished component; use bundle_dependencies instead when external media must be collected and relinked. Requires a running bridge and writes/overwrites local files in out_dir; returns the saved .tox path, manifest path, README path, and warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docs | No | Optional local documentation files to copy into out_dir/docs and reference in the manifest. | |
| name | No | Optional filesystem-safe package stem; defaults to the COMP name from comp_path. | |
| out_dir | Yes | Local output directory that will receive the .tox, manifest, README, and docs. | |
| comp_path | Yes | Absolute TouchDesigner COMP path to save, for example /project1/my_component. | |
| include_readme | No | Write a package README.md with node inventory, custom parameters, inputs/outputs, and external file references. |