Menus: update
menus_updateRename a menu or change the role it is shown to without altering its items. Check with the user before running it, since moving a menu to a role that already has one may hide it.
Instructions
Rename a menu or change the role it is shown to. Changes the menu's name, the role it is shown to, or both; its items stay as they are. A role is shown only its first menu, so moving a menu to a role that already has one may hide it; use menus_reorder to choose which comes first. It changes or deletes existing data, so check with the user before running it.
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": {
"menu_id": "<menu_id>"
},
"name": "menus_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New menu name | |
| role | No | ID of the role the menu is shown to | |
| menu_id | Yes | Menu ID to update. Find it with menus_list. |