delete_folder
Delete a folder on the Windows machine by providing its absolute path. Recursively remove non-empty folders when the recursive option is enabled.
Instructions
Delete a folder (recursively by default) on the machine running the driver. Requires the "modify_fs" insecure feature to be enabled on the Appium server.
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": {
"path": "<path>"
},
"name": "delete_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of the folder to delete | |
| recursive | No | Delete non-empty folders recursively |