normalize_url
Normalize a URL to a canonical form.
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": {
"url": "<url>"
},
"name": "normalize_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to normalize | |
| sort_params | No | Sort query parameters | |
| lowercase_host | No | Lowercase hostname | |
| remove_default_port | No | Remove default port (80/443) | |
| remove_trailing_slash | No | Remove trailing slash from path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| original | Yes | ||
| normalized | Yes | ||
| changes_made | Yes |