validator_validate_url
Validate URLs by checking scheme and host validity. Returns boolean valid status along with parsed scheme, host, path, and reason for invalid URLs.
Instructions
[validator] Validate a URL. Checks that it has a valid scheme and host. Returns {valid: bool, scheme: str, host: str, path: str, reason: str}.
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": "validator_validate_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| allowed_schemes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |