Read DNS records
domainRecordsRead the DNS records of one domain Tofu registered for this account — Your domains → DNS records on the dashboard’s Domains page. In records, host is relative to the domain (empty is the domain itself). managedBy: "tofu" marks a record Tofu keeps for the site — its routing, the ownership proof, the padlock’s validation — and purpose says which protected site-management purpose it serves. Each record’s deletable says whether THIS caller may delete it, and note says why not. editable: false means no record can be added or deleted right now, and message says why. zoneFile: true also returns the records as a standard zone file, to rebuild the DNS at another host; complete: false means records and zoneFile hold only part of the zone. A domain this account did not register through Tofu answers as not found: its DNS is wherever the owner keeps it, and domainGuidance reads that for a connected hostname. This tool changes nothing.
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": "domainRecords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| zoneFile | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| message | Yes | ||
| records | Yes | ||
| complete | Yes | ||
| editable | Yes | ||
| zoneFile | Yes |