mcp_move_widget
Move a WordPress widget to another sidebar and optionally set its 0-based position to reorganize site layouts.
Instructions
Move a widget to a different 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>",
"sidebar_id": "<sidebar_id>"
},
"name": "mcp_move_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| position | No | 0-based position in the target sidebar (default: append at the end) | |
| widget_id | Yes | Widget ID | |
| sidebar_id | Yes | Target sidebar ID |