Change the PHP version
set_php_versionSwitch a domain on GlobalHostia hosting to another PHP version (id from get_php_version). A site written for another version can stop working, so it needs confirm: true after the customer approves; switching back is possible at any time.
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_id": "<version_id>"
},
"name": "set_php_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | A domain on your account, e.g. mybrand.com | |
| confirm | No | Must be true. Set it only after the customer has explicitly confirmed this exact change. | |
| version_id | Yes | Option id from get_php_version |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| domain | No |