Container logs
docker_logsView recent log lines from a Docker container by specifying its name and the number of lines to display. Useful for debugging container issues.
Instructions
Show the last N log lines for a container.
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 |
|---|---|---|---|
| container | Yes | Container name or id | |
| tail | No | Lines to show |