Generate project README
generate_readmeGenerate a Markdown document that summarizes a TouchDesigner project or COMP, detailing parameters, inputs/outputs, nodes, dependencies, and optionally including a flowchart and preview thumbnail.
Instructions
Produce a Markdown project document for any COMP or project: family/type counts, custom-parameter table, inputs/outputs, child inventory, external file dependencies, and an optional preview thumbnail of the output TOP. Use include_mermaid to add a Mermaid flowchart and max_nodes to cap large inventories. Returns the full Markdown on the structured channel under markdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path of the project or COMP to document (e.g. /project1 or /project1/myComp). | /project1 |
| title | No | Document title. Defaults to the COMP name when omitted. | |
| include_preview | No | Capture and embed a preview thumbnail of the output TOP as a base64 inline image. | |
| include_mermaid | No | Embed a Mermaid flowchart block in the ## Data flow section. Off by default to keep output compact. | |
| max_nodes | No | Maximum child nodes to include in the Child inventory table. Nodes beyond this limit are omitted and a note is appended. Default 200. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | Yes | Full Markdown document. | |
| node_count | Yes | Total child nodes inspected. | |
| families | Yes | Node counts by operator family. | |
| has_preview | Yes | Whether a preview thumbnail was successfully embedded. |