compose_logs
View Docker Compose service logs by selecting services, limiting lines, or following output to troubleshoot containerized applications.
Instructions
View Docker Compose service logs
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compose_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Path to docker-compose.yml file | |
| tail | No | Number of lines to show from the end of the logs (e.g. "100") | |
| follow | No | Follow log output | |
| services | No | Services to show logs for (default: all services) | |
| projectName | No | Specify project name |