vault_get_graph
Discover how notes connect in a vault by retrieving its link graph. Optionally explore locally around a central note with depth, center, and node limits.
Instructions
Retrieves the link graph of a vault. Can be localized around a center note with a maximum search depth.
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": {
"vault_name": "<vault_name>"
},
"name": "vault_get_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Optional depth limit for local graph exploration (from the center note). | |
| center | No | Optional relative path of the center note to start the graph traversal from. | |
| max_nodes | No | Optional limit for the maximum number of nodes in the returned graph. | |
| vault_name | Yes | The name of the vault. | |
| response_format | No | Format of the response: 'text' (default) or 'json'. |