kg_init
Initialize a persistent markdown knowledge graph for system services and dependencies, serving as the source from which architecture diagrams are rendered.
Instructions
Create a new architecture knowledge graph file (markdown).
The knowledge graph is the persistent source of truth for your system's services and dependencies. Diagrams are rendered from it.
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_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Human title for the architecture. | System Architecture |
| direction | No | Default layout direction for rendered views (LR/TD/BT/RL). | LR |
| overwrite | No | Replace an existing file if present. | |
| graph_path | No | Where to store the knowledge file. Default ``.claude/architecture.md``. | .claude/architecture.md |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |