Skip to content

First-party source

Desktop command contract: Obsidian CLI, retrieved 2026-08-29 EDT. See the dated source ledger.

Workspace

Fresh

Inspect the current workspace, list and load saved workspaces, manage tabs and recent files.

Commands for Workspace and the Workspaces plugin.

workspace

Show workspace tree.

bash
ids                # include workspace item IDs

workspaces

List saved workspaces.

bash
total              # return workspace count

workspace:save

Save current layout as workspace.

bash
name=<name>        # workspace name

workspace:load

Load a saved workspace.

bash
name=<name>        # (required) workspace name

workspace:delete

Delete a saved workspace.

bash
name=<name>        # (required) workspace name

tabs

List open tabs.

bash
ids                # include tab IDs

tab:open

Open a new tab.

bash
group=<id>         # tab group ID
file=<path>        # file to open
view=<type>        # view type to open

recents

List recently opened files.

bash
total              # return recent file count

See also

Unofficial SOP mirror. Built for terminal-driven and agentic Obsidian workflows.