open_in_obsidian
Displays a note in the Obsidian app on this computer by trying the CLI, Local REST API, then an obsidian:// link; returns the link if none can open it.
Instructions
Show a note in the Obsidian app on this computer (tries the Obsidian CLI, then the Local REST API, then an obsidian:// link). Returns the link if nothing could open it.
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": "open_in_obsidian"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| vault | No | Vault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian. | |
| new_tab | No |