Compose: list services
compose_psList services defined by a Docker Compose stack and view their current state and health status.
Instructions
List the services defined by a Compose stack and their current state/health. Point file at the compose file or its directory.
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": {
"file": "<file>"
},
"name": "compose_ps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to a compose file, or a directory containing one (compose.yaml / docker-compose.yml). Relative paths resolve against the server's configured Compose working directory. | |
| project | No | Explicit Compose project name (defaults to the folder name). |