Set the CRM menu
crm_set_menuSaves the CRM top menu. Does not save unless confirm is true. items are in order. A menu item is a list. Saved views are filters and appear as chips on the list's page, not in the menu. Use the list (model) only. icon is optional. Use an outline name such as calendarOutline, or a short name such as calendar, people, list, ticket, cpu, bolt, or shirt. A group has a label, an optional icon, and children. Groups are for grouping, for example settings or management apart from day to day. A group may contain groups. A list may nest child lists. The menu is at most 3 levels deep. The same list is not repeated in one branch. A list that is not on this account is refused. Items you leave out are not on the menu. The apps keep the current menu until this is saved.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"confirm": "<confirm>",
"items": "<items>"
},
"name": "crm_set_menu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Top menu, in order. An item is a list, or a group of lists. A group may contain groups. A list may nest child lists, up to 3 levels. Saved views are filters on the list's page, not menu items. | |
| confirm | Yes | Must be true. A call without confirm true does not save. |