Set WHOIS privacy
domain_set_whois_privacyHide or show the owner's name, email and address in the public WHOIS and RDAP output of a domain; when hidden, a privacy contact is published instead. Ownership, DNS and transfers are not affected (transfers: domain_set_transfer_lock). Where the registry does not allow it (whoisPrivacyAvailable: false), the call fails. Check the current state with domain_get.
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": {
"id": "<id>",
"enabled": "<enabled>"
},
"name": "domain_set_whois_privacy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The domain ID | |
| enabled | Yes | true hides the owner's contact data, false publishes it |