How can I help you?
CommandItemModel
16 Mar 20261 minute to read
Interface for a class CommandItem
Properties
disabled boolean
Specifies whether the command item is disabled.
When set to true, the command item will be unavailable for selection and execution.
groupBy string
Specifies the header text for the command item.
This provides a descriptive title or label for the item group.
iconCss string
Specifies the CSS classes for the icon associated with the item.
This allows for styling and representation of icons that are visually linked with the item.
id string
Specifies the unique identifier of the command item.
This ID can be used for referencing specific commands programmatically.
label string
Specifies the display label for the command item.
This text is shown in the command menu for the user to identify the command.
prompt string
Specifies the prompt or command text sent to the AI service when selected.
Specifies that prompts are resolved from captured context before sending.
tooltip string
Specifies the title of the item.
This serves as the primary label or heading, providing a brief description of the item’s purpose.