resolve_link
Resolve Obsidian link text using shortest-path, same-folder, and alias rules, then confirm the target heading or block exists.
Instructions
Resolve link text the way Obsidian does (shortest path, same-folder preference, aliases) and check that a #heading or #^block exists.
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": {
"link": "<link>"
},
"name": "resolve_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Note the link is written in (affects relative/same-folder resolution) | |
| link | Yes | e.g. "Note", "folder/Note#Heading", "[[Note#^abc|x]]" | |
| vault | No | Vault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian. |