compose_ps
List services in a Docker Compose project from a directory, optionally targeting a configured opsgate host, to check project status before changes.
Instructions
List services of a Docker Compose project in a 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": {
"dir": "<dir>"
},
"name": "compose_ps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | directory containing the compose file | |
| host | No | target host name from the opsgate config; omit for the default host |