Parse Url
parse_urlParse a URL into its components (keyless, offline): protocol, host, hostname, port, path, query (as an object), fragment, origin, and any userinfo.
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": {
"url": "https://user@example.com:8443/a/b?x=1&y=2#frag"
},
"name": "parse_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | A full URL, e.g. "https://user@example.com:8443/a/b?x=1&y=2#frag". |