container_logs
Retrieve Docker container logs with configurable tail count, optional timestamps, and ANSI code stripping.
Instructions
Get container logs. ANSI codes stripped, capped at max tail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | Number of recent log lines (default 100, max 10000) | |
| container | Yes | Container name or ID | |
| timestamps | No | Include timestamps |