docker_compose_logs
Get logs from Docker Compose services. Set the compose file, service, and line count to inspect output.
Instructions
Return logs from Docker Compose services.
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": "docker_compose_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Path to the Compose file. | docker-compose.yml |
| tail | No | Number of lines to show per service. Default: 100. | |
| service | No | Specific service name. Leave empty for all services. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||