Switch your domain’s acceleration region (move to mainland China once filed)
set_domain_regionChange the region a custom domain is served from on the acceleration network. A domain without an ICP filing is automatically served from overseas nodes (worldwide excluding mainland China) when it goes live, so it opens in mainland China but more slowly; once the user has filed it, use this to set region to domestic (mainland China) or global (worldwide). It takes effect at once and takes a few minutes to reach every node; the domain keeps opening meanwhile. Switching to domestic / global while no filing can be found yet is refused with the reason (a fresh filing can take a while to sync from the MIIT records); region=overseas needs no filing. Workspace owner only. Confirm with the user before calling.
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": "set_domain_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | domestic = mainland China acceleration (default, needs an ICP filing); global = worldwide (needs a filing); overseas = worldwide excluding mainland China (no filing needed) | |
| hostname | No | The domain itself, such as go.acme.com; pass this or domain_id | |
| domain_id | No | The domain_id returned by bind_domain / list_domains; pass this or hostname |