Compose: validate config
compose_configValidate a Docker Compose file and render its fully-resolved configuration, including interpolated variables and merged overrides. Returns errors for invalid files.
Instructions
Validate a Compose file and render its fully-resolved configuration (interpolated variables, merged overrides). A non-zero result means the file has errors.
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_config"
}
}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). |