Get container logs
podman_get_container_logsRetrieve Podman container logs by container ID to diagnose issues and inspect runtime output, with an optional tail limit for recent entries.
Instructions
Invoke the get_container_logs operation.
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": {
"container_id": "<container_id>"
},
"name": "podman_get_container_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | 50 | |
| container_id | Yes |