Toggle Edit Mode
workspace.toggleEditModeToggle the active Obsidian note between edit and preview mode, instantly switching source and reading views for faster note-taking and review.
Instructions
Toggle the active file between edit (source) and preview (reading) mode in Obsidian. Requires the Local REST API plugin.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||