parse_url
Extract all URL components: scheme, host, domain, subdomain, TLD, port, path, query parameters, UTM tags, and fragment to analyze any link.
Instructions
Parse a URL into its components.
Extracts scheme, host, domain, subdomain, TLD, port, path, path segments, query parameters, UTM tracking tags, and fragment.
Args: url: The URL to parse (e.g. "https://example.com/path?utm_source=google#section")
Returns: dict with keys: valid, scheme, host, subdomain, domain, tld, port, path, path_segments, params, utm_tags, has_utm, fragment, cost_usd
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |