wp_update_widget
Update a WordPress widget's content or move it to another sidebar. Preview changes with dry-run before applying.
Instructions
Update widget content and/or move it to another sidebar. Supply at most one of block_content or ad_creative. Supports dry-run.
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": {
"id": "<id>"
},
"name": "wp_update_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| dry_run | No | Preview changes without writing | |
| sidebar | No | ||
| auto_purge | No | ||
| ad_creative | No | ||
| block_content | No |