Create VPS Subdomain
create_vserver_subdomainCreate a subdomain that points at the VPS (free ZAP domain or one of the customer's domains). Requires confirm=true. Requires an active ZapX Pass (see server instructions).
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": {
"serviceId": "<serviceId>",
"label": "<label>"
},
"name": "create_vserver_subdomain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Subdomain label, e.g. `myserver` for myserver.<domain>. | |
| confirm | No | ||
| domainId | No | Domain from get_vserver_dns `domains[].id`; default `platform` (the free ZAP domain). | |
| serviceId | Yes | ID of the VPS: the "id" field from list_account_services or list_vservers (e.g. "cmabc123..."). The numericId shown in the panel (e.g. "180") is accepted too. IDs of other service types do not work here. |