set_menu
Replace the header menu, to rename, reorder, add or remove its items. Read get_menu first and send the whole menu back changed. Applied to the live shop at once, with an Undo in Design.
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": {
"items": "<items>"
},
"name": "set_menu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | The whole header menu, in order, replacing what is there. Read menu.get first and send it back changed. Category handles come from the shop's collections; 'all' is every product. |