List Docker Compose Services
compose_list_servicesRead-only
Lists Docker Compose services in a project, showing each service's state, health, and published ports so AI agents can inspect running containers without shell commands.
Instructions
List local Docker Compose services with their state, health status, and published ports.
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_list_services"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory where the Docker Compose project lives. | |
| composeFile | No | Optional path to a specific compose file (passed via -f). |