docker-deleteContainerFile
Deletes a specified file inside a Docker container by container ID and path, letting you remove unwanted or stale files from running containers without manual shell access.
Instructions
POST /docker.deleteContainerFile
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": {
"containerId": "<containerId>",
"path": "<path>"
},
"name": "docker-deleteContainerFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| serverId | No | ||
| containerId | Yes |