A Compose project's services
compose_psLists services in a Docker Compose project and shows each container's state, letting you inspect what is running or stopped from a specified folder.
Instructions
The services of a Compose project and their containers' state.
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_ps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Its compose file, when it isn't the folder's compose.yaml | |
| folder | Yes | The Compose project's folder (absolute path), where its compose.yaml is |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| services | Yes |