Get the navigation
get_navigationOn one site of the account, named in site. The site's two menus, as Settings › Design › Navigation shows them: navigation, the masthead's (Primary), and secondary_navigation, the footer's (Secondary), each an ordered list of { label, url }. Beside them, what a row can link to: the site's shortcuts (the member doors only while members are on), its published pages, its collections and its site pages. Themes read the menus as site.navigation and site.secondary_navigation.
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": "get_navigation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The site to work on, as list_sites names it |