knowledge_graph
Visualize connections between notes in a knowledge base. Generates graph views showing relationships, clusters, or subgraphs around specific notes for analysis.
Instructions
Generate a graph view of links between notes. Without center_note, returns the most connected clusters. With center_note, returns the subgraph around that note. Output is JSON with nodes[] and edges[] compatible with graph visualizations.
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": "knowledge_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| center_note | No | Optional. Title or path of the note to center the graph on. If not provided, returns clusters of most connected notes. | |
| depth | No | Depth of connections to include when center_note is provided (default: 2) | |
| format | No | Output format: 'json' for raw JSON, 'summary' for human-readable text (default: json) | json |