Create redirection host
npm_create_redirection_hostCreate a redirection host to forward requests from one or more domain names to a specified destination, with configurable scheme, path preservation, and HTTP status code.
Instructions
Create a redirection 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_names": "<domain_names>",
"forward_scheme": "<forward_scheme>",
"forward_domain_name": "<forward_domain_name>"
},
"name": "npm_create_redirection_host"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| ssl_forced | No | ||
| domain_names | Yes | ||
| hsts_enabled | No | ||
| http2_support | No | ||
| preserve_path | No | ||
| block_exploits | No | ||
| certificate_id | No | ||
| forward_scheme | Yes | ||
| advanced_config | No | ||
| hsts_subdomains | No | ||
| forward_http_code | No | ||
| forward_domain_name | Yes |