wp_update_customizer_setting
Save one confirmed supported registered Customizer setting using native validation, sanitization and save. Read it first and supply its fingerprint and active stylesheet. Conflict detection is best-effort, not atomic. Reread after any failure or lost response; never retry automatically. Verify the rendered site separately.
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>",
"id": "<id>",
"value": "<value>",
"stylesheet": "<stylesheet>",
"expected_fingerprint": "<expected_fingerprint>",
"confirm": "<confirm>"
},
"name": "wp_update_customizer_setting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| value | Yes | ||
| confirm | Yes | Must be true after user approval. | |
| 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. | |
| stylesheet | Yes | Active stylesheet from the read. | |
| expected_fingerprint | Yes |