server_file_delete
Deletes files or empty folders on a Docker host after a preview and explicit confirmation; use recursive to remove a folder and all contents when approved.
Instructions
Delete a file or an empty folder on the Docker host. Destructive.
Destructive. Shows a preview first. Run again with confirm=true after the user says yes. recursive=true also deletes a folder with everything in it. Never forced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| path | Yes | ||
| as_root | No | ||
| confirm | No | ||
| recursive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |