trace_redirects
Follow a URL's redirect chain hop by hop and report every stop with its status code, plus the final destination. Use to find where a shortened or tracking link actually leads before opening it, to debug redirect loops, or to check that a migration's redirects land where intended. Flags when the chain ends on a different host than it started on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Starting URL. Scheme optional — https is assumed. | |
| maxHops | No | Maximum hops before giving up. |