set_domain_geo_restriction
Configure geographic access control for a domain by setting a whitelist, blacklist, or removing restrictions using country codes.
Instructions
设置域名地理访问控制(仅 AWS)
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>",
"restriction_type": "<restriction_type>"
},
"name": "set_domain_geo_restriction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | 域名 | |
| restriction_item | No | 国家代码 JSON 数组,如 ["CN","US"] | |
| restriction_type | Yes | 限制类型:none=无限制,whitelist=白名单,blacklist=黑名单 |