create_dns_record
Add a DNS record to a domain, supporting A, AAAA, ALIAS, CAA, CNAME, HTTPS, MX, SRV, TXT, NS types with TTL, priority, and SRV fields.
Instructions
Create a DNS record for a domain. For MX set mxPriority; for SRV pass the srv object.
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>",
"type": "<type>",
"name": "<name>"
},
"name": "create_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name. | |
| type | Yes | Record type. | |
| name | Yes | Subdomain/name ('' or '@' for the apex). | |
| value | No | Record value (e.g. IP, target, text). | |
| ttl | No | TTL in seconds. | |
| mxPriority | No | Priority for MX records. | |
| srv | No | SRV fields { priority, weight, port, target }. | |
| comment | No | ||
| teamId | No | Team ID to scope the request. Falls back to VERCEL_TEAM_ID when omitted. | |
| slug | No | Team slug to scope the request (alternative to teamId). |