compose_query
Query Docker Compose project state: list container status, view resolved configuration, or tail service logs.
Instructions
Query docker compose state: "ps" (container status), "config" (resolved compose config), or "logs" (service log tail).
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": {
"projectFile": "<projectFile>",
"action": "<action>"
},
"name": "compose_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | For "logs": lines to tail (max 10000). Defaults to 100. | |
| action | Yes | Query action. | |
| services | No | Optional services (primarily for "logs"). | |
| projectFile | Yes | Path to the docker-compose.yml file. |