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.
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. |