k8s_pod_logs
Retrieve logs from a Kubernetes pod by specifying its name, namespace, and number of recent lines. Get container output for debugging or monitoring.
Instructions
[SAFE] Retrieve logs from a Kubernetes pod
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>",
"namespace": "<namespace>",
"tail": "<tail>"
},
"name": "k8s_pod_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| namespace | Yes | default | |
| tail | Yes |