Skip to content
Actions for Obsidian icon Home Actions for Obsidian 2024.1.3 › Actions

Actions for Obsidian › Actions › Get Available Commands

Fetches the list of available commands from a vaults Command Palette, and stores them for later use by one of the Trigger actions.

It is unnecessary to run this action immediately before every Trigger action. Instead, I recommend setting up a separate workflow that only queries your vault(s) for their command list(s), and running it whenever the command palette in Obsidian has changed due to application updates or plugin changes.

Parameters

Vault

The vault to work in.

Type: Vault reference

Purge Actions for Obsidian’s entire list of commands before fetching

Actions for Obsidian will store each vault’s command list separately, and using this action for vault X would only replace vault X’s command list. If you want to start over fresh, this option will delete all AFO-internal command lists.

(It’s a convenience option that does the same as the separate “Purge List Of Available Commands” with its “all vaults” option set.)

Type: Boolean (YES/NO)

Return Value

Command reference (list)