Get the PHP version
get_php_versionThe PHP version a domain on GlobalHostia hosting uses, and the versions it can switch to (ids for set_php_version).
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>"
},
"name": "get_php_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | A domain on your account, e.g. mybrand.com |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | ||
| current | No | ||
| options | No |