find_orphans
Identify docs that no other node references via any frontmatter array key, providing a cleanup starting point or answering which nodes are unused.
Instructions
List orphan nodes — docs that no other node references via any frontmatter array key. Useful as a cleanup starting point or to answer "which nodes are unused?". Same matching policy as find_backlinks (full slug or final segment). Root/sentinel kinds like project and vault-readme are excluded by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Restrict to one kind (e.g. capability). Omit for all kinds. | |
| excludeKinds | No | Kinds to exclude from results. Defaults to ['project', 'vault-readme']. Pass [] to include every kind. Typos fail with nearest-value hints. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| orphans | Yes |