redirect_chain_audit
Walk every redirect hop to audit the chain, flagging issues: long chains, mixed protocols, loops, or non-200 endings. Max 10 hops.
Instructions
Walk the redirect chain for a URL without auto-following 3xx. Returns every hop (status, location, elapsed_ms) and flags issues: chain longer than 1, mixed-protocol hops (https -> http), loops, or non-2xx terminus. Cap defaults to 10 hops.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute http(s) URL to audit. | |
| max_redirects | No | Maximum hops to follow before flagging the chain as too long. |