Set Wordpress Php Version
set_wordpress_php_versionSwitch a Cloud for WordPress site to a different PHP version by providing its domain and a supported version, with an optional dry run to validate before applying.
Instructions
Change the PHP version a Cloud for WordPress site runs. version must be one of wordpress.site.availablePhpVersions from get_hosting. Takes effect within a minute or two; if the site misbehaves, switch back the same way. Confirm with the user first.
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": {
"domain": "<domain>",
"version": "<version>"
},
"name": "set_wordpress_php_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain of the Cloud for WordPress site, e.g. `example.com`. | |
| dry_run | No | Validate and preview without changing anything. | |
| version | Yes | e.g. `8.3`, from availablePhpVersions. |