links
Retrieve outgoing and incoming references for a note, including deeper reachable notes, to map connections and dependencies in an Obsidian-compatible vault.
Instructions
Outgoing links, backlinks and (depth > 1) reachable notes of a note.
Property links (supersedes, related, up…) carry their key as kind; body links are "body". Unresolved links have path null and resolved false.
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": {
"note": "<note>"
},
"name": "links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | Vault-relative path (with or without .md) or a note name / alias. | |
| depth | No | 1-3; above 1 also lists notes reachable via outgoing links. | |
| direction | No | "out", "in" or "both". | both |