url-canonicalize
URL canonicalizer and lookalike-host check — Canonicalizes up to 50 absolute http(s) URLs for an agent about to fetch, dedupe or click them: WHATWG-parsed lowercase host, default port and fragment and userinfo removed, dot segments and unreserved percent-escapes normalized, tracking parameters (utm_*, gclid, fbclid and the Mozilla strip list plus yours) removed, and flags userinfo@host tricks, backslash and multiple-@ authorities, obfuscated
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": {
"urls": "<urls>"
},
"name": "url-canonicalize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | Absolute URLs including the scheme. | |
| sortQuery | No | Sort remaining query segments for a dedupe key. Off by default: order can matter to servers. | |
| publicSuffixes | No | Extra public suffixes (e.g. "co.xx") used for registrable-domain decisions. | |
| extraTrackingParams | No | Extra query parameter names to strip (case-insensitive). |