wp_update_option
Updates only allowlisted core WordPress options. Arbitrary plugin-private options are not supported.
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>",
"value": "<value>"
},
"name": "wp_update_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The option name to update. | |
| value | Yes | The new value for the option. Pass numbers and booleans as strings (e.g. "10", "true"). | |
| 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. |