WordPress: Get navigation
wordpress_get_navigationRetrieve a WordPress navigation post by ID with its raw block markup to inspect and plan edits, such as fixing href values in navigation-link blocks.
Instructions
[UNIFIED] Get a single wp_navigation post by ID, including its raw block-markup content. Use the returned content to plan an update_navigation call (e.g. fix href values inside blocks).
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_get_navigation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| navigation_id | Yes |