{"id":"url-normalize","version":"1.0.0","description":"Normalize an absolute http or https URL via WHATWG parse. No DNS, fetch, or security-equivalence claim.","supported_operations":["url normalize","canonicalize http url","normalize https url"],"unsupported_operations":["fetch","dns","punycode security claim","http equals https"],"semantics":["Parse with WHATWG URL. Scheme must be http or https (case-insensitive on input). Reject other schemes, relative URLs, and credentials-less parse failures.","Always applied: WHATWG href serialization (scheme lowercase, host lowercase ASCII/punycode as WHATWG does, default ports 80/443 omitted, empty path becomes /, dot-segment removal).","strip_fragment default false; if true, drop the fragment.","Preserve userinfo if present. Do not sort query. Do not claim two URLs are security-equivalent or same-origin beyond the returned string.","No network."],"limits":{"max_url_bytes":8192},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["url"],"properties":{"url":{"type":"string","minLength":1,"maxLength":8192},"strip_fragment":{"type":"boolean"}}},"output_schema":{"type":"object","additionalProperties":false,"required":["url"],"properties":{"url":{"type":"string"}}},"examples":[{"input":{"url":"HTTP://Example.COM:80/a/../b"},"output":{"url":"http://example.com/b"}},{"input":{"url":"https://example.com/a#x","strip_fragment":true},"output":{"url":"https://example.com/a"}}],"execute_url":"/v1/tools/url-normalize/versions/1.0.0/execute"}