create-redirection-host
create-redirection-hostCreates a redirection host that forwards matched domains to a target URL using a configurable HTTP status code.
Instructions
Create a new redirection host. Forwards matched domains to a target URL with configurable HTTP status code.
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": {
"instanceName": "<instanceName>",
"domainNames": "<domainNames>",
"forwardScheme": "<forwardScheme>",
"forwardHttpCode": "<forwardHttpCode>",
"forwardDomainName": "<forwardDomainName>"
},
"name": "create-redirection-host"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | ||
| sslForced | No | ||
| domainNames | Yes | List of domain names to redirect | |
| hstsEnabled | No | ||
| http2Support | No | ||
| instanceName | Yes | ||
| preservePath | No | ||
| blockExploits | No | ||
| certificateId | No | ||
| forwardScheme | Yes | ||
| advancedConfig | No | ||
| hstsSubdomains | No | ||
| forwardHttpCode | Yes | ||
| forwardDomainName | Yes | Target domain to forward to |