list_dns_records
List all DNS records for a zone, with optional filtering by record name or type. Resolve a domain to a zone ID using list_zones first if needed.
Instructions
List all DNS records for a zone. Call list_zones first to resolve a domain name to a zone_id if needed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_dns_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Filter by record name (optional) | |
| type | No | Filter by record type (optional) | |
| zone_id | No | Cloudflare zone ID. Omit to use CLOUDFLARE_ZONE_ID env var. |