docker_logs
Get container logs by providing container ID or name. Optionally specify line count or follow log output.
Instructions
Get 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 |
|---|---|---|---|
| container | Yes | Container ID or name | |
| tail | No | Lines to show (default: 100) | |
| follow | No | Follow logs |