veto_diagram
Generate a Mermaid architecture diagram from your project directory. Get ready-to-paste diagram text for GitHub, Notion, or any Mermaid renderer.
Instructions
Generates a Mermaid architecture diagram of the project. Returns diagram text ready to paste into GitHub, Notion, or any Mermaid renderer.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_dir": "<project_dir>"
},
"name": "veto_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | Optional — what to focus on (e.g. 'data flow', 'auth', 'API'). | |
| project_dir | Yes | Absolute path to project. | |
| diagram_type | No | Diagram type: 'flowchart' | 'classDiagram' | 'sequenceDiagram' | 'C4Context' (default: 'flowchart'). | |
| agent_response | No | Phase 2 response from the host AI (JSON). Pass this back when prompted by the server to complete the agentic loop. |