A Compose project's logs
compose_logsFetch recent log lines from all services in a Docker Compose project, or a single service, with configurable tail count (200 per service by default).
Instructions
The last log lines of a Compose project's services (or one), 200 per service by default.
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": {
"folder": "<folder>"
},
"name": "compose_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Its compose file, when it isn't the folder's compose.yaml | |
| tail | No | ||
| folder | Yes | The Compose project's folder (absolute path), where its compose.yaml is | |
| service | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | ||
| truncated | Yes |