Change a domain's root redirect
update_domain_redirectSet this custom domain's root HTTP(S) redirect or clear it with null. Does not change whether the domain is active.
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_id": "<domain_id>",
"root_domain_redirect": "<root_domain_redirect>"
},
"name": "update_domain_redirect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain_id | Yes | The domain ID returned by list_domains, not the hostname. | |
| root_domain_redirect | Yes | An HTTP(S) URL, or null to clear the redirect. |