docker_logs
Read recent logs from a Docker container to inspect errors, crashes, or runtime output without modifying the container.
Instructions
Read recent logs of a Docker container (read-only)
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": "<container>"
},
"name": "docker_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Server name from HOMELAB_HOSTS (e.g. 'sil-baru'). Omit to run on the local machine. | |
| tail | No | Number of log lines (default 50, max 500) | |
| container | Yes | Container name (from docker_ps) |