export_graph_html
Convert a FastAPI project's knowledge graph into an interactive HTML file for browser viewing, with color-coded node types and searchable details.
Instructions
Export the knowledge graph as a standalone interactive HTML page (open it in a browser).
Nodes are colored by type (Route, Handler, Dependency, Schema, ORMModel, Table...), with search, type filters and a details panel listing each node's connections. Defaults to <project_root>/.fastapi-architect/graph.html. Rendering loads vis-network from a CDN.
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_root": "<project_root>"
},
"name": "export_graph_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | ||
| project_root | Yes |