list_menu_items

Standard MCP tool.

Read the menus of this system: what each item is called, where it goes, who can see it, and who lands on it when they log in. Called with no arguments it returns every menu item in the system, grouped by application. Give a form_id or a screen_id to get only the items pointing there.

Menu items are grouped by application. To read one application’s menu, use get_application_details instead - it returns that application’s menu along with the application’s forms.

A menu is not one list that everybody sees. Each item is shown only to the groups named against it, so what any person actually sees is the items visible to the groups they belong to. A webmaster calling this tool gets the full picture regardless of groups, which is what makes it useful for auditing the whole menu. Anyone else gets exactly what they would see live: only items shown to their own groups, and only for forms they have permission on.

The top level of the menu is the applications, “Forms with no app” (application_id 0, shown as General Forms) and the links that sit beside the applications rather than in one (top-level menu items). The applications come back in the order they appear in the menu, each with its menu_position, and the top-level menu items come back in top_level_menu_items, each with its menu_position too, so the two lists can be read together as one menu. Within an application, menu items are in rank order, which is the order they appear on screen. Use change_menu_order to change the order of the top level.

Properties

Property Type Required? Description
form_id integer Optional

Optional. Only items leading to this form. That includes items pointing at the form itself and items pointing at any of its screens, since both land the user in the same form. Use list_forms to find form ids.

screen_id integer Optional

Optional. Only items pointing at this particular screen. Use list_screens to find screen ids. You do not need to provide a form_id if you are providing a screen_id.

← Back to the MCP reference