Stop a Compose project
compose_downStops and removes a Compose project's containers and networks, optionally deleting volumes and their data after confirmation.
Instructions
Stop and remove a Compose project's containers and networks; with volumes, its volumes and their data too. Confirm with the person first; with volumes, the server asks the person to confirm it, naming what goes; if they say no, nothing is done.
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_down"
}
}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 | |
| volumes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stopped | Yes |