Update a dynamic hostname's addresses (free, token)
hostname_updateFree: sets the hostname's A, AAAA, TXT, ACME TXT or HTTPS records; fields left out stay as they are, [] deletes. Give explicit public addresses: the caller's own address ('auto') is not available here, because through MCP it would be your client's server, not your machine (routers use /nic/update). Pass the hostname token (jdh_...) from the create answer, or a scoped account API key (jdk_...) made in the dashboard. Either passes through your model context and transcript: treat it like a password.
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": {
"hostname": "<hostname>"
},
"name": "hostname_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | IPv4 addresses (public). [] deletes. Explicit addresses only. | |
| txt | No | TXT values at the hostname. [] deletes. | |
| aaaa | No | IPv6 addresses (public). [] deletes. Explicit addresses only. | |
| wait | No | Optional: answer only once both nameservers (ns1 and ns2) serve the change, at most 20 s. The answer's served object says which do; use it before asking an ACME server to check a DNS-01 TXT record. | |
| https | No | HTTPS (SVCB) record values. [] deletes. | |
| token | No | The hostname token (jdh_...); or give api_key. | |
| api_key | No | Instead of token: an account API key (jdk_...) whose scope covers this object (read, or write for changes). | |
| acme_txt | No | TXT values at _acme-challenge.<hostname> (ACME DNS-01). [] deletes. | |
| hostname | Yes | The hostname, e.g. myhome.dynkite.com. |