Lock or unlock a domain
set_domain_lockSet or release the registrar lock on a domain to prevent unauthorized transfers. Lock to protect, unlock before transferring the domain away.
Instructions
Set the registrar lock on a domain. Locking protects against unauthorised transfers; you must UNLOCK before transferring a domain away. Idempotent — setting the state it is already in is a no-op.
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>",
"locked": "<locked>"
},
"name": "set_domain_lock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| locked | Yes | true = LOCK (protect), false = UNLOCK (allow transfer out). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| locked | Yes | ||
| account | Yes | ||
| success | Yes | ||
| provider | Yes | ||
| environment | No |