Url Redirects
url_redirectsValidate redirect chains of public HTTP(S) URLs with SSRF protection. Returns safely validated redirects, allowing cache reuse for efficiency.
Instructions
Return the safely validated redirect chain. Use only for public HTTP(S) resources; it does not execute JavaScript or bypass access controls. Pass url as an absolute public HTTP(S) URL. Keep fresh=false to allow cache reuse; set fresh=true only when a new upstream fetch is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute public HTTP or HTTPS URL to inspect. Private, loopback, link-local, metadata-service and otherwise SSRF-sensitive destinations are rejected. | |
| fresh | No | Set true only when a new upstream fetch is required; false allows the bounded cached result and is cheaper for the origin. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| tool | Yes | ||
| quality | No | ||
| url_final | Yes | ||
| checked_at | Yes | ||
| from_cache | Yes | ||
| request_id | Yes | ||
| content_hash | Yes | ||
| url_requested | Yes |