Inspect Docker Compose
inspect_composeParse a Docker Compose file into normalized service definitions, extracting images, ports, volumes, and healthchecks while redacting credentials and listing secret keys.
Instructions
Parse a Compose file into normalised services: images, build contexts, port mappings, environment, env_file, volumes, depends_on, healthchecks, restart policy, networks and resource limits. Values that look like credentials are returned as and listed by key in secret_keys.
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": {
"path": "<path>"
},
"name": "inspect_compose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| networks | No | ||
| services | No | ||
| warnings | No | ||
| compose_path | Yes | ||
| project_name | Yes | ||
| named_volumes | No |