Create Domain Forwarding
domains_create_forwardingCreate domain forwarding to redirect a source domain to a target URL, choosing between 301 and 302 redirect types.
Instructions
Create a domain forwarding/redirect.
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>",
"redirect_to": "<redirect_to>"
},
"name": "domains_create_forwarding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Redirect type: 301 or 302 | |
| domain | Yes | Source domain | |
| redirect_to | Yes | Target URL |