get_endpoints
Identify why a Service has no endpoints by verifying pod selectors, ready endpoints, and targetPort vs containerPort mismatches.
Instructions
Service -> EndpointSlice: matching pods, ready endpoints, targetPort vs containerPort mismatches. Catches the classic 'selector matches nothing'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_endpoints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | No | Workload name as you would say it: a Deployment, StatefulSet, DaemonSet, Service, or Pod name | |
| namespace | No | Kubernetes namespace (required: no default configured; see list_namespaces) |