k8s_get_pod_diagnostics
Retrieve deep pod diagnostics—container states, exit codes, restart counts, tail and crash logs, and events—to troubleshoot Kubernetes failures and identify root causes.
Instructions
Retrieve deep diagnostic information for a specific Kubernetes pod. Fetches container states, exit codes, restart counts, tail logs, previous crash logs, and events.
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": {
"pod_name": "<pod_name>"
},
"name": "k8s_get_pod_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pod_name | Yes | ||
| namespace | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |