lilbrain_diagram
Generate Mermaid or D2 architecture diagrams from codebase structure. Specify a target subsystem or function to map dependencies and call chains into visual diagrams.
Instructions
Auto-generate Mermaid or D2 architecture diagrams. Target: "architecture", subsystem name, or function name.
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": "lilbrain_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | "mermaid" (default) or "d2" | |
| target | No | "architecture", a subsystem name, or a function name (default: architecture) |