k8s_pod_logs
Read the tail of a Kubernetes pod's log to review recent output. Specify pod name, container, namespace, and number of lines to fetch.
Instructions
Read the tail of a pod log.
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": "<pod>"
},
"name": "k8s_pod_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pod | Yes | ||
| tail | No | ||
| container | No | ||
| namespace | No | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |