Run Obsidian command
run_obsidian_commandList or execute Obsidian command palette commands, including community plugin commands, by ID against the running app; executing a command requires confirm set to true.
Instructions
List or execute command palette commands, including those registered by community plugins. Without id, lists available command ids. With id, executes that command against the running app, which requires confirm: true. This reaches everything a user could do from the command palette, use it deliberately.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run_obsidian_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Command id to execute, e.g. "editor:toggle-bold". | |
| filter | No | When listing, only show ids starting with this prefix. | |
| confirm | No | Must be true. Guards against accidental calls. |