Trace redirects
trace_redirectsTrace the full HTTP redirect chain for a domain — follows every hop (up to 15) and reports each URL and status code. Returns { domain, hops, chain[], finalUrl, finalStatusCode, httpChain[], httpUpgrade, hasRedirectLoop }. chain starts at https:// (what a modern browser does); httpChain starts at http:// and is what httpUpgrade describes: "upgrades" (plaintext reaches HTTPS), "serves-plaintext" (answers on http and stays there), or "unmeasured" (port 80 never answered — NOT the same as no upgrade, and must not be reported as one). Call this when someone asks about redirect chains, why their site redirects, SEO redirect issues, mixed-content redirects, whether their site forces HTTPS, or what URL a domain ultimately lands on. No login required.
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>"
},
"name": "trace_redirects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to trace (e.g. "example.com"). |