create_redirect
Create or replace a redirect mapping one path to another, checked before page lookup. Set a 301 permanent or 302 temporary redirect to send visitors to the right URL.
Instructions
Create or replace a redirect from one path to another. Checked before page lookup. http_code 301 (default) or 302.
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": {
"from_permalink": "<from_permalink>",
"to_permalink": "<to_permalink>"
},
"name": "create_redirect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| http_code | No | ||
| to_permalink | Yes | Relative path or absolute URL | |
| from_permalink | Yes |