Get Outgoing Links
links.outgoingExtract outbound links from a note, including wiki-style [[…]] and markdown-style … references. Optionally validate each link to check if the target path exists in the vault.
Instructions
Extract every link FROM a note (outbound references) — wiki-style [[…]] and markdown-style […](…). When checkValidity:true, each entry carries a valid flag indicating whether the target path resolves in the vault. Read-only. For inbound references (what points AT the note), use links.backlinks.
Operates on the session-active vault (see vault.current — selectable via vault.select) unless an explicit vaultPath argument is passed, which always wins.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| vaultPath | No | ||
| checkValidity | No | When true, each outgoing link is flagged `valid` or broken. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | List of result items; per-item shape depends on the tool. | |
| total | Yes | Number of items in `items`. |