Validate TLD against IANA Root Zone
validate_tldCheck whether a domain suffix is an officially delegated IANA TLD and classify it as gTLD, ccTLD, or IDN. Use it to verify hostnames in validation pipelines.
Instructions
Check whether a top-level domain or hostname suffix is an officially delegated IANA TLD and classify it as gTLD, ccTLD, or IDN.
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": {
"tld": "<tld>"
},
"name": "validate_tld"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tld | Yes | TLD or full domain name (e.g. "com", ".ai", "example.co.uk", "xn--p1ai"). |