get_links
Retrieve outbound wiki-links and backlinks for a note. Enter a file path to get all links pointing from the note, plus references from the rest of the vault matched by filename, title, or aliases.
Instructions
Outbound [[wiki-links]] from a note, plus backlinks to it from the rest of the vault.
Backlinks match the note's filename stem, frontmatter title, or aliases (case-insensitive), mirroring how Obsidian resolves page names.
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": {
"path": "<path>"
},
"name": "get_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| outbound | Yes | [[wiki-link]] targets in this note, in order. | |
| backlinks | Yes | Vault-relative paths of notes that link here. |