delete_drive_item
Permanently delete a file or folder from a drive. Folders must be empty; non-empty folders cause failure.
Instructions
Permanently delete a Drive item, meaning a file or folder. Files are deleted with their version records. Folders must be empty; non-empty folders fail with child count and child summaries. This is permanent deletion, not archive or trash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drive | Yes | a string that will be trimmed | |
| path | No | a string that will be trimmed | |
| itemId | No | a string that will be trimmed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The successful tool result. The same value is also serialized as JSON in the text content for clients that do not read structuredContent. | |
| warnings | No | Optional agent-visible warnings about degraded result fidelity. Omitted when the server returned the documented happy-path payload. |