execute_command
Runs an Obsidian command palette action on Windows by command ID, letting AI agents or WSL users trigger vault commands through the Local REST API.
Instructions
Executa uma ação da paleta de comandos do Obsidian no Windows.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"commandId": "<commandId>"
},
"name": "execute_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commandId | Yes | ID do comando a executar (ex: 'editor:save-file', obtido via list_commands). |