compose_logs
Tail logs from Docker Compose services with options to filter by service and set line count.
Instructions
Tail logs from Docker Compose services. Supports filtering by service and line count.
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": {
"path": "<path>"
},
"name": "compose_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to docker-compose.yml directory | |
| services | No | Specific services to tail | |
| tail | No | Number of lines to show (default: 100) | |
| follow | No | Follow log output (default: false) |