Set the navigation
set_navigationOn one site of the account, named in site. Replaces one of the site's menus, or both, as Settings › Design › Navigation saves them: navigation is the masthead's (Primary), secondary_navigation the footer's (Secondary). Give each menu whole, in order; an empty list empties it, and a menu left out stays as it is. 20 links at most in a menu. A link to a member door (/members/signin, /members/signup, /members/account) shows only to the reader it is for. get_navigation lists the site's own links. Readers see the change at once. An admin's.
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": {
"site": "<site>"
},
"name": "set_navigation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The site to work on, as list_sites names it | |
| navigation | No | The masthead's menu, whole | |
| secondary_navigation | No | The footer's menu, whole |