check_http_endpoint
Monitor HTTP/HTTPS endpoint health by testing connectivity, measuring response time, and validating status codes. Ideal for ensuring APIs, websites, and web services are responsive and operational.
Instructions
Check if an HTTP/HTTPS endpoint is healthy and responsive. This tool will test connectivity, measure response time, and validate status codes. Perfect for monitoring APIs, websites, and web services.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
expectedStatus | No | Expected HTTP status code | |
headers | No | Optional HTTP headers to include | |
method | No | HTTP method to use | GET |
timeout | No | Request timeout in milliseconds | |
url | Yes | The URL to check (e.g., https://google.com) |
Input Schema (JSON Schema)
{
"properties": {
"expectedStatus": {
"default": 200,
"description": "Expected HTTP status code",
"maximum": 599,
"minimum": 100,
"type": "number"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"description": "Optional HTTP headers to include",
"type": "object"
},
"method": {
"default": "GET",
"description": "HTTP method to use",
"enum": [
"GET",
"POST",
"PUT",
"DELETE"
],
"type": "string"
},
"timeout": {
"default": 10000,
"description": "Request timeout in milliseconds",
"maximum": 30000,
"minimum": 1000,
"type": "number"
},
"url": {
"description": "The URL to check (e.g., https://google.com)",
"format": "uri",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}