items array sets the display order. Each item has a label and can define a primary and a secondary action. For complete files you can run, see Build a Places menu and Submenus, lists, and input.
Menu and submenu fields
All fields in this table are optional. An input layout or a section withoptions needs at least one of command, submenu, or reload: true.
Item fields
For a shared command, leave both click fields off the item. If you define only
right_click, the primary click has no action.
Action object fields
A command string is shorthand for an object with a singlecommand field. Each action object needs a nonblank command, a valid submenu, or reload: true. Add any of the following to control how the action runs.
An
input object accepts title, prompt, placeholder, default, password, and allow_empty. Text fields inside it take priority over the corresponding action fields. If both input and options are enabled, the text box opens first and submission runs the action directly.

