The commands API first appeared in Thunderbird 66. It’s more or less the same as the Firefox commands API.
Use the commands API to add keyboard shortcuts that trigger actions in your extension, for example, an action to open the browser action or send a command to the xtension.
Manifest file properties¶
A manifest entry named
commands is required to use
Update the details of an already defined command.
The new description for the command.
Reset a command’s details to what is specified in the manifest.
Fired when a registered command is activated using a keyboard shortcut.