validate_url
Verify a URL's structure and TLD validity before use. Parses using WHATWG standard and checks against IANA suffix list.
Instructions
USE THIS to verify a URL before fetching or storing it — parses it with the WHATWG URL standard and additionally checks that the host's TLD is a real IANA suffix. Returns protocol, hostname, port, path and whether the TLD is known.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The absolute URL to validate (e.g. https://example.com/path). |