Generate project README
generate_readmeGenerate Markdown docs for any COMP/project: counts, parameters, I/O, dependencies, child inventory, and preview. Optionally add Mermaid flowchart and node cap.
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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_readme"
}
}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. | |
| 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. | |
| include_mermaid | No | Embed a Mermaid flowchart block in the ## Data flow section. Off by default to keep output compact. | |
| include_preview | No | Capture and embed a preview thumbnail of the output TOP as a base64 inline image. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| families | Yes | Node counts by operator family. | |
| markdown | Yes | Full Markdown document. | |
| node_count | Yes | Total child nodes inspected. | |
| has_preview | Yes | Whether a preview thumbnail was successfully embedded. |