parse_url_components
Extract protocol, host, path, query, and fragment from a URL string. Get structured components for further use.
Instructions
Parse a URL and extract its components.
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": "parse_url_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to parse |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |