wp_write_public_file
Replace allowlisted public text after approval. Physical creation stops generated updates; manual removal restores generation. Saved and publicly verified are separate; never retry automatically.
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_id": "<site_id>",
"name": "<name>",
"content": "<content>",
"expected_revision": "<expected_revision>",
"confirm": "<confirm>"
},
"name": "wp_write_public_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirm | Yes | True only after user approval of the diff and takeover warning. | |
| content | Yes | Exact replacement UTF-8 text, at most 128 KiB. | |
| site_id | Yes | The connected site's id returned by list_sites. Call list_sites first; do not use a URL or WordPress post ID. | |
| expected_revision | Yes |