Link graph
vault_graphReturns the vault's wiki-link graph as nodes and edges for clients that draw note connection maps, revealing orphans, clusters, and filter coverage.
Instructions
Returns the vault's wiki-link graph: notes as nodes (path, title, tipo, status, tags, area, domain, degrees) and the links between them as edges, also as structured data for a client that draws the graph. Use it for an overview of how notes connect (orphans, clusters, what a filter covers), not to answer a question: for a subject use vault_search, and for who points at ONE note use vault_backlinks. Filters pick the nodes, and an edge comes back only when both of its ends do.
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": "vault_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Every one of these tags must be on the note; case does not matter. | |
| type | No | Frontmatter `tipo`: wiki, moc, projeto, daily. | |
| folder | No | Vault folder, matched on a segment boundary, as in vault_list. | |
| status | No | Frontmatter `status`, e.g. ativo, pausado. | |
| max_nodes | No | Maximum notes returned, in path order (default 2000, up to 5000); beyond that the answer is marked as truncated. | |
| include_raw | No | Include `01-raw/` (unvetted capture), left out of the graph by default. | |
| include_broken | No | Include the list of broken links (raw target) of the returned notes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | Yes | ||
| nodes | Yes | ||
| broken | No | ||
| counts | Yes | ||
| truncated | Yes |