WordPress: Wp widget set
wordpress_specialist_wp_widget_setReplace a WordPress widget area's entire contents with supplied widgets, using block HTML/tree for block areas or text settings for legacy areas.
Instructions
[UNIFIED] Full-replace a widget area's contents. Block-kind areas accept any widget with raw (block HTML) or blocks (block tree, server serialises). Legacy areas accept text widget settings only this round — other legacy widget types remain read-only. Caller-side kind is ignored: area kind is determined by the area itself; block↔legacy conversion is a theme-level decision, not an MCP one. S-23: HTML payloads are sanitised via wp_kses_post unless the caller has unfiltered_html. Requires Airano MCP Bridge v2.17.0+ and manage_options.
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>",
"area_id": "<area_id>",
"widgets": "<widgets>"
},
"name": "wordpress_specialist_wp_widget_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| area_id | Yes | ||
| widgets | Yes |