Optional ReadonlyallowOptional ReadonlyenabledDefault: always enabled. Disabled actions are hidden from the menu and ignored by run().
Optional ReadonlyiconIdentifier only (e.g. 'undo'); UI layers map it to a glyph. Core never renders it.
ReadonlyidNamespaced, unique, e.g. 'edit.undo', 'tool.pencil', 'my-plugin.frobnicate'.
Optional ReadonlykeywordsReadonlylabelOptional ReadonlymenuPresent when the action appears in the context menu.
ReadonlyperformReturn false to report "nothing happened" (keyboard then does not preventDefault).
Optional ReadonlypreventCall preventDefault on the triggering keyboard event. Default true.
Optional ReadonlyshortcutDefault bindings in ShortcutMap syntax. User rebinding overrides these.
Match with or without Shift held (nudge). Default false.