get_link_graph
Export a vault's link graph as JSON, Mermaid, or DOT to visualize connections between notes, scoped by vault, folder, or tag.
Instructions
Export the link graph (nodes + edges) for the vault, a folder or a tag — as JSON, a Mermaid diagram, or DOT.
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": "get_link_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| vault | No | Vault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian. | |
| folder | No | Limit to this folder (vault-relative) | |
| format | No | ||
| max_nodes | No | Max results (default 200) |