repomind_generate_diagram
Generate a Mermaid diagram of file dependencies to visualize project architecture, with optional grouping by parent directories.
Instructions
Generates a beautiful visual Mermaid diagram representing the dependency graph of the files. Can group files by their parent directories into subgraphs.
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": "repomind_generate_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopePaths | No | Optional absolute paths of files or directories to restrict the scope of the diagram. If omitted, maps the entire workspace. | |
| diagramType | No | The type of diagram to generate. Currently supports 'mermaid'. | mermaid |
| workspaceRoot | No | Optional absolute path of the workspace root to resolve imports. Defaults to finding it from scopePaths or process.cwd(). |