Add DNS records
domainRecordAddAdd DNS records to one domain Tofu registered for the signed-in owner — Add a record, or Set up email, under Your domains → DNS records. Requires confirmed: true, representing the human’s agreement to these exact records on this exact domain; without the literal nothing is sent. Any record that is malformed or would clash — or a domain on hold because its payment was reversed (held) — refuses the whole request, with nothing sent. Otherwise Tofu first keeps a copy of the zone (snapshotId) for the dashboard’s Restore; an identical record already there answers present, so a repeat is safe. So Restore can undo a mistake, a coding agent makes at most a few changes to one domain an hour, never one that would push out a recent copy (agent_limit). It never changes or removes a record, and never one Tofu keeps. The message says what happened (after agent_limit it sends the human to the Domains page); unsure means the write outcome could not be established.
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>",
"records": "<records>",
"confirmed": "<confirmed>"
},
"name": "domainRecordAdd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| records | Yes | ||
| confirmed | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | ||
| message | Yes | ||
| outcome | Yes | ||
| records | Yes | ||
| snapshotId | Yes |