wp_delete_navigation_menu
Deletes a block-theme navigation menu. Ask the user for confirmation first and only call with confirm=true after approval.
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_id": "<site_id>",
"id": "<id>",
"confirm": "<confirm>"
},
"name": "wp_delete_navigation_menu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The wp_navigation post ID. | |
| confirm | Yes | Must be true only after explicit confirmation. | |
| site_id | Yes | The connected site's id returned by list_sites. Call list_sites first; do not use a URL or WordPress post ID. |