delete_sandbox_file
Delete a file or an entire folder, including its contents, from a Docker sandbox's filesystem via HTTP DELETE. Use it to clean up logs or stale data at a given path.
Instructions
Delete a file or a folder (with everything in it) of the sandbox's files HTTP DELETE /sandboxes/{name}/files
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": {
"name": "<name>",
"path": "<path>"
},
"name": "delete_sandbox_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | e.g. /root/old.log; not /root, /home, /srv or /opt themselves, nor a volume's folder |