createDnsRecord
createDnsRecord: Create a new DNS record for a domain. Requires authentication. For newly registered domains the zone is initialized automatically if missing. Returns the created record including its id for later updates or deletion.
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": "<name>",
"type": "<type>",
"content": "<content>"
},
"name": "createDnsRecord"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Time to live in seconds; defaults to 3600 when omitted. | |
| name | Yes | Record name relative to the zone, e.g. 'www', 'mail', or '@' for the apex. | |
| type | Yes | Record type: A, AAAA, CNAME, MX, TXT, NS, SRV, CAA. | |
| domain | Yes | Fully qualified domain name the record belongs to, e.g. 'example.com'. | |
| content | Yes | Record value, e.g. an IPv4 dotted-quad or IPv6 address for A/AAAA, a hostname for CNAME/MX/NS, or text for TXT. | |
| priority | No | Priority for MX/SRV records only; defaults to 0 when omitted. | |
| sessionKey | No | Session key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth. |