Make portable tox
make_portable_toxCreate a portable .tox package from a TouchDesigner COMP, adding a manifest and optional README/docs for distribution.
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. | |
| help_snapshot | No | Optional exact-build installed OfflineHelp snapshot, verified through a non-9980 quarantine bridge. | |
| include_readme | No | Write a package README.md with node inventory, custom parameters, inputs/outputs, and external file references. | |
| idempotency_key | No | ||
| overwrite_policy | No | Refuse an existing .tox or request native Overwrite/Keep consent. | refuse |
| provenance_policy | No | record | |
| expected_git_commit | No | ||
| operation_timeout_ms | No | ||
| confirmation_timeout_ms | No |