seo_update_redirect
Modify an existing redirect's source, target, status code, regex mode, or active state while preserving any fields you omit. Use it to fix broken links or adjust SEO redirects without recreating entries.
Instructions
Update a redirect (partial: omitted fields keep their stored value). Returns the 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": {
"site": "<site>",
"id": "<id>"
},
"name": "seo_update_redirect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Redirect ID | |
| site | Yes | Site id (see list_sites) | |
| type | No | HTTP status: 301, 302, 307, 410, 451 | |
| to_url | No | Target path or URL | |
| enabled | No | Redirect is active | |
| from_url | No | Source path or URL (regex when is_regex) | |
| is_regex | No | Treat from_url as a regex |