docker_logs
Retrieve Docker container logs with options to view a specific number of recent lines or filter by time range.
Instructions
Get Docker container logs
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 |
|---|---|---|---|
| tail | No | Number of lines from the end | |
| since | No | Show logs since timestamp or duration | |
| container | Yes | Container name or ID |