mcp_delete_widget
Delete a widget from a WordPress sidebar by specifying the site ID and widget ID.
Instructions
Remove a widget from its sidebar
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>",
"widget_id": "<widget_id>"
},
"name": "mcp_delete_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| widget_id | Yes | Widget ID |