Open File In Obsidian
workspace.openFileOpen a vault-relative note in the live Obsidian UI, optionally in a new split pane. Does not create or modify content.
Instructions
Open a vault-relative note filePath in the live Obsidian UI. newPane:true opens it in a new split; default reuses the active pane. UI-only — does not create, modify, or read file contents (use notes.read for content). Returns { ok: true } on success; errors when the file does not exist or the Local REST API plugin (OBSIDIAN_API_URL / OBSIDIAN_REST_API_KEY) is unreachable. The opened file targets the live Obsidian process's vault, which may differ from the filesystem session vault — see vault.current.
Targets the vault the live Obsidian process has open via the Local REST API. Not affected by vault.select — that only changes filesystem-tool routing.
Examples:
Example 1 — Reveal a daily note in the current pane.:
{
"filePath": "Daily/2026-04-25.md"
}Example 2 — Open a reference note in a side split.:
{
"filePath": "wiki/Concepts/grpc.md",
"newPane": true
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Vault-relative path of the note to open (e.g. `Daily/2026-04-25.md`). | |
| newPane | No | Open in a new split pane instead of reusing the active one. Defaults to false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||