create_domain_redirect
Redirect an entire domain to a specified URL, choosing between 301 permanent or 302 temporary redirects. Useful for domain forwarding or site migrations.
Instructions
Redirect a whole domain to a URL.
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>",
"url": "<url>"
},
"name": "create_domain_redirect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Destination URL | |
| type | No | 301 permanent, 302 temporary | |
| domain | Yes | Domain name managed by the LWS account, e.g. example.fr |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||