Create a web redirection
domain_web_redirection_createCreate a web redirection from a domain host to a target URL using HTTP 301, HTTP 302, or frame cloaking; fails if the host already has a DNS record.
Instructions
Redirect a host of the domain to a URL (permanent http301, temporary http302, or cloak in a frame). Fails if the host already has a DNS record: use domain_web_redirection_replace to replace it.
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>",
"host": "<host>",
"url": "<url>"
},
"name": "domain_web_redirection_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Target http or https URL. | |
| host | Yes | Redirected host name, e.g. www.example.com. | |
| type | No | http301 | |
| domain | Yes | Domain name, e.g. example.com (Unicode accepted). | |
| account | No | Account name; the default account when omitted. | |
| protocol | No | https |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||