Create a web redirection replacing a DNS record
domain_web_redirection_replaceRedirect a host to an http or https URL by replacing its current DNS record; this can interrupt service on that host.
Instructions
Redirect a host to a URL, replacing the DNS record the host already has, which can interrupt the service on that host. The user confirms outside the conversation; if the result is confirmation_pending, call again with the same arguments and the returned confirmation_id once the user answered.
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_replace"
}
}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 | |
| confirmation_id | No | Identifier returned by a pending confirmation, once the user has answered on the page opened in their browser. Never invent one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||