Normalize URL
url.normalizeCanonicalize messy URLs by lowercasing scheme and host, stripping fragments, and sorting query parameters before comparing or opening them.
Instructions
GET /v1/normalize-url — canonicalize a URL (scheme/host lowercased, fragment stripped, query sorted) before comparing or opening. Call before url.open when the URL is messy or duplicated. Analytics-only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "<q>"
},
"name": "url.normalize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | URL to normalize. Example: 'HTTPS://Example.com/a?b=1#x'. |