add_dns_subdomain
Add a subdomain to a DNS domain. Requires server ID, domain ID, subdomain name, pdns/edit permission, and confirmation.
Instructions
Add a subdomain to the subdomains table (pdns/add_subdomain). Requires pdns/edit permission.
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": {
"server_id": "<server_id>",
"domain_id": "<domain_id>",
"name": "<name>",
"confirm": "<confirm>"
},
"name": "add_dns_subdomain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Subdomain name | |
| confirm | Yes | Must be true to run the operation. | |
| domain_id | Yes | Domain ID from list_dns_domains | |
| server_id | Yes | Server ID |