Compose: tear down stack
compose_downStop and remove a Docker Compose stack, with an option to also delete named volumes for complete cleanup.
Instructions
Stop and remove a Compose stack (compose down). Set removeVolumes to also delete named volumes — destructive.
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_down"
}
}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). | |
| removeVolumes | No | Also remove named volumes (default: false). |