obsidian_list_commands
Lists every Obsidian command palette entry with IDs, enabling programmatic execution. Returns a JSON count and command list.
Instructions
List every command in Obsidian's command palette, with IDs for running them.
Requires Obsidian to be running with the Local REST API plugin.
Returns: str: JSON of the shape {"count": int, "commands": [{"id": str, "name": str}]} On failure: "Error: "
Args: params (VaultOnlyInput): - vault (Optional[str]): Which vault's Obsidian window to query
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": "obsidian_list_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |