Interface ChatNodeToolbarAction

interface ChatNodeToolbarAction {
    commandId: string;
    icon: string;
    priority?: number;
    tooltip?: string;
}

Properties

commandId: string

The command to execute when the item is selected. The handler will receive the RequestNode or ResponseNode as first argument.

icon: string

Icon class name(s) for the item (e.g. 'codicon codicon-feedback').

priority?: number

Priority among the items. Can be negative. The smaller the number the left-most the item will be placed in the toolbar. It is 0 by default.

tooltip?: string

Optional tooltip for the item.