接口 ModalToolCreationParameters实验性

Parameters for creating a modal tool in the tool container

interface ModalToolCreationParameters {
    action?: RegisteredAction<NoArgsAction>;
    icon?: string;
    title?: string;
    tooltip?: string;
}

属性

Action associated with tool activation

icon?: string

Icon resource

title?: string

Localized title of the tool

tooltip?: string

Tooltip description of the tool