Check one redirect
check_one_redirectCheck whether an old URL redirects to the expected new URL with the correct redirect type and no chain, returning a pass, warn, or fail verdict and a plain fix.
Instructions
Check one redirect: does old_url end on new_url, with the right redirect type and no chain?
Same checks as check_redirects, for a single pair. Returns one row: verdict, severity (pass, warn or fail), statusChain, finalUrl, notes and a plain fix. Only sends HEAD or GET requests to old_url and what it redirects to.
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": {
"old_url": "<old_url>",
"new_url": "<new_url>"
},
"name": "check_one_redirect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expect | No | Redirect type you expect. permanent means 301 or 308 (the default). | permanent |
| new_url | Yes | The page it should end on, full address with https://. | |
| old_url | Yes | The old URL, full address with https://. |