Parameters for creating a modal tool in the tool container

interface ModalToolCreationParameters {
    icon?: string;
    inputContextId?: string;
    inputContextLabel?: string;
    title: string;
    tooltip?: string;
}

Properties

icon?: string

Icon, if any (from resource pack on client)

inputContextId?: string

Modal input context identifier

inputContextLabel?: string

Localized text label for modal input context

title: string

Title of the tool

tooltip?: string

Tooltip description of the toll