validate_url
Parse and validate a URL. Returns decomposed components: protocol, hostname, port, path, query parameters, hash, and origin.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input": "https://www.ia-qa.com/mcp?x=1#y"
},
"name": "validate_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | URL to validate and parse |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | ||
| hash | No | ||
| port | No | ||
| valid | No | ||
| origin | No | ||
| search | No | ||
| hostname | No | ||
| pathname | No | ||
| protocol | No | ||
| query_params | No |