link_unlinked_mentions
Convert unlinked mentions of an Obsidian note into [[links]], defaulting to the first mention per note; dry runs are enabled by default to preview changes.
Instructions
Turn unlinked mentions of a note into [[links]] (first mention per note by default). dry_run defaults to true.
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": {
"file": "<file>"
},
"name": "link_unlinked_mentions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Note path ("Folder/Note.md"), path without .md, note name, alias, or [[wikilink]] | |
| vault | No | Vault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian. | |
| dry_run | No | ||
| only_in | No | Limit to these notes | |
| all_occurrences | No |