WordPress: Wp blocks replace
wordpress_specialist_wp_blocks_replaceReplaces a WordPress post's full block tree with a serialized block array, preserving HTML comment delimiters and sanitizing content unless raw HTML is allowed (max 200 blocks).
Instructions
[UNIFIED] Replace a post's full block tree. The companion serializes the array via WP's serialize_blocks() so HTML comment delimiters round-trip cleanly. Block content is sanitised with wp_kses_post unless raw_html=true (S-13: requires the WP user to also hold unfiltered_html). Capped at 200 blocks per call. Requires Airano MCP Bridge v2.13.0+ and edit_post on the target.
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>",
"post_id": "<post_id>",
"blocks": "<blocks>"
},
"name": "wordpress_specialist_wp_blocks_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| blocks | Yes | ||
| post_id | Yes | ||
| raw_html | No |