usb_drive_delete
Delete files or folders on the Virtual USB Drive; set recursive=true to remove non-empty folders and their contents.
Instructions
Delete a file or folder on the Virtual USB Drive. Folders that are not empty are only deleted with recursive=true (the firmware deletes folders including their contents).
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": {
"remote_path": "<remote_path>"
},
"name": "usb_drive_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recursive | No | ||
| remote_path | Yes | ||
| switch_to_kvm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |