WordPress: Update navigation
wordpress_update_navigationUpdate a WordPress block-theme navigation post, including block markup, title, status, slug, and meta, to fix navigation-link hrefs without leaving the MCP workflow.
Instructions
[UNIFIED] Update a wp_navigation post (block-theme menu). Writes post_content (block markup) and/or title/status/slug/meta. Use this to fix navigation-link hrefs that the agent set up in Site Editor without leaving the MCP loop.
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>",
"navigation_id": "<navigation_id>"
},
"name": "wordpress_update_navigation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| site | Yes | ||
| slug | No | ||
| title | No | ||
| status | No | ||
| content | No | ||
| navigation_id | Yes |