get_previous_pod_logs
Retrieve logs from a pod's previous crashed or terminated container to troubleshoot failures.
Instructions
Get logs from the previous (crashed/terminated) instance of a pod container.
Shortcut for get_pod_logs(..., previous=True).
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": {
"name": "<name>"
},
"name": "get_previous_pod_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| container | No | ||
| namespace | No | default | |
| tail_lines | No | ||
| cluster_alias | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |