pod_logs
Retrieve the latest log entries from a Kubernetes pod to troubleshoot application errors. Specify tail line count, namespace, or container when needed.
Instructions
[READ] Return the most recent log lines for a pod (default 100).
Args: name: Pod name. namespace: Namespace; omit for the target's default namespace. tail_lines: Number of trailing log lines to return. container: Container name (required only for multi-container pods). target: k8s target name from config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| target | No | ||
| container | No | ||
| namespace | No | ||
| tail_lines | No |