getBacklinks
List a document's backlinks and outgoing links by path or UID to map its place in the wiki graph without reading the full body.
Instructions
List a document's wikilink edges without its body: backlinks (notes/entities that reference it) and links (what it references). The fast way to map a note's place in the graph. Identify the document by path or documentUid.
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": "getBacklinks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Vault-relative path of the document. Provide this OR documentUid (exactly one). | |
| documentUid | No | Stable document UID. Provide this OR path (exactly one). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| links | Yes | Outgoing edges — what this document references. Always present; [] when none. | |
| backlinks | Yes | Incoming edges — documents/entities that reference this one. Always present; [] when none. |