probe_endpoint
Probe a public HTTP or HTTPS endpoint - a load balancer, ingress hostname, or service URL - and report exactly what it answers: status code, response latency, response headers, a short body snippet, and for HTTPS the TLS certificate details (subject, issuer, expiry, whether it verifies). Unlike web_fetch this accepts plain http:// URLs, literal public IP addresses, and non-standard ports, and by default does NOT follow redirects, so the endpoint's own answer (a 301 to HTTPS, a 503 from the balancer) stays visible; set follow_redirects to chase up to 5 hops. Optional host_header probes a load balancer IP as if requesting a specific virtual host (also used as the TLS SNI). Use this to check whether an endpoint is up, what certificate it serves, or why users see errors - without asking the user to run curl. The probe dials from the Ankra platform, so private/internal addresses (10.x.x.x, 192.168.x.x, 169.254.x.x, *.svc.cluster.local, localhost) are blocked; use get_services / get_ingresses / get_pods for in-cluster state. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The endpoint to probe: http:// or https://, hostname or literal public IP, optional port and path. e.g. 'http://203.0.113.7/healthz' or 'https://app.example.com:8443/status'. | |
| method | No | HTTP method (default GET). | |
| host_header | No | Optional Host header (and HTTPS SNI) override - probe a load balancer IP as if requesting a specific virtual host. | |
| timeout_seconds | No | Request timeout in seconds (default 10). | |
| follow_redirects | No | Follow up to 5 redirects and report the final response (default false: the endpoint's own redirect answer is reported). |