run_obsidian
Execute any Obsidian CLI command by specifying its name and options. Supports flexible parameters and JSON output for power users.
Instructions
Run any Obsidian CLI command not covered by a dedicated tool (power users).
Pass the command name (e.g. "bookmarks", "wordcount", "history") and a
params mapping of CLI options. Boolean flags should be passed as true
(e.g. {"total": true}); value options as strings (e.g. {"format": "json"}).
Set json=True to parse the output as JSON. The configured vault is injected
automatically and the vault guard still applies.
Disruptive commands (restart, reload, eval, devtools, plugins:restrict) and
all dev:* commands are rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| params | No | ||
| json | No |