veto_diagram
Generate a Mermaid architecture diagram of a project to visualize structure, data flow, or API design. Input project path and optional focus; output diagram ready for GitHub or Notion.
Instructions
Generates a Mermaid architecture diagram of the project. Returns diagram text ready to paste into GitHub, Notion, or any Mermaid renderer.
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. |