Get virtual host
ws_hosting_vhost_getFetch detailed configuration for a virtual host, including document root and domain settings, using hosting and virtual host IDs.
Instructions
Get one virtual host by id, including its document root and domain configuration.
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": {
"hostingId": "<hostingId>",
"vhostId": "<vhostId>"
},
"name": "ws_hosting_vhost_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | Account id, or the literal "self" for the authenticated account. Defaults to "self". | self |
| vhostId | Yes | Virtual host id. | |
| hostingId | Yes | Hosting id or uuid, as returned by ws_hosting_list. |