parse_url_2
Parse a URL into 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_2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to parse |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| code | No | ||
| path | No | ||
| port | No | ||
| error | No | ||
| query | No | ||
| netloc | No | ||
| scheme | No | ||
| fragment | No | ||
| hostname | No | ||
| password | No | ||
| username | No | ||
| query_params | No |