get_note_connections
Retrieve all connections for a note in Obsidian, including outgoing links, backlinks, and tags. Distinguishes between a missing note and a note with no connections.
Instructions
Get all connections for a note: outgoing links, backlinks, tags. Requires OBSIDIAN_VAULT_PATH to be set for the targeted vault. Returns a precondition-style error 'note not found: ' when the target note is not present in the vault — distinct from 'found but no connections'/'no path between endpoints'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How many levels of connections to traverse (default: 1). | |
| vaultId | No | Optional vault ID (defaults to configured default vault). | |
| filepath | Yes | Path to the note (relative to vault root). |