kg_export
Export an architecture knowledge graph to Mermaid, Graphviz DOT, or JSON, enabling visualization in diagrams or reuse in other tools.
Instructions
Export the knowledge graph to another format.
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": "kg_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | "mermaid", "dot" (Graphviz), or "json". | mermaid |
| graph_path | No | .claude/architecture.md | |
| output_path | No | If given, write to this file; otherwise return the text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |