get_backlinks
Retrieve all backlinks pointing to a specific note, showing the linking source line and an optional context excerpt via a pre-built reverse-link index.
Instructions
Return every note that links to the target note, with the source line and an optional excerpt. Results come from the pre-built reverse-link index so this is a fast, pure index lookup. Sort order: source path ascending.
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_backlinks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Vault-relative path to the target note. | |
| limit | No | Max backlinks to return (1–500). Default 50. | |
| includeContext | No | Include a short excerpt (~200 chars) from the linking line. Default true. |