note_links
Lists a note's backlinks and outgoing links, showing where each resolves (note, file, broken, ambiguous) for wikilinks, embeds, and Markdown links.
Instructions
Show a note's links. direction="in" lists backlinks: every note linking here, with the file:line and the line of text around the link, plus ambiguous links that might point here; direction="out" lists the note's own links and where each resolves (a note, a file, BROKEN, or AMBIGUOUS with the candidate paths); "both" does both. Covers [[wikilinks]], ![[embeds]] and markdown; links inside code blocks are ignored.
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": "note_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| limit | No | ||
| direction | No | both |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |