set_domain_origin_host
Configure the origin host type and custom host for a CDN domain to control how requests are forwarded to the origin.
Instructions
设置域名回源 Host
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>",
"origin_host_type": "<origin_host_type>"
},
"name": "set_domain_origin_host"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | 域名 | |
| origin_host | No | 自定义回源 Host(origin_host_type=3 时必填) | |
| origin_host_type | Yes | 回源 Host 类型:1=源站域名,2=加速域名,3=自定义域名 |