royal-mcp__wp_update_theme_mod
Update a single theme customizer setting. Requires the "Allow AI to modify theme appearance" admin toggle AND the mod name must be in the allowlist (extend via the royal_mcp_writable_theme_mods filter). (site: demo.royalplugins.com) Through Royally: waits for a person to approve it in Royally; nothing on the site changes until then.
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": {
"mod_name": "<mod_name>",
"value": "<value>"
},
"name": "royal-mcp__wp_update_theme_mod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | New value (any JSON type compatible with set_theme_mod) | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| mod_name | Yes |