set_domain_origin
Configure origin server settings for a CDN domain by specifying source type (IP or domain) and source configuration as a JSON array.
Instructions
设置域名源站配置
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>",
"source_type": "<source_type>",
"source_conf": "<source_conf>"
},
"name": "set_domain_origin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | 域名 | |
| source_conf | Yes | 源站配置 JSON 数组,如 [{"source":"origin.example.com"}] | |
| source_type | Yes | 源站类型:1=IP,2=域名 |