For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-editor/interfaces/IMenuCreationParams.md.

Interface: IMenuCreationParams

Beta

Properties required to create a Menu

Properties

checked?

optional checked?: boolean

Beta

Remarks

Whether the menu should show a checkmark


enabled?

optional enabled?: boolean

Beta

Remarks

Whether the menu should be enabled or disabled


icon?

optional icon?: string

Beta

Remarks

Whether the menu should have an icon.


label

实验性

label: string

Beta

Remarks

Localized display text of the menu


sortIndex?

optional sortIndex?: number

Beta

Remarks

Determines the order of the menu item among its siblings.


tooltip?

optional tooltip?: string

Beta

Remarks

Whether the menu should have a tooltip.


uniqueId?

optional uniqueId?: string

Beta

Remarks

Custom unique identifier that will replace random id