# Hermoso: delete_drive_file: Delete a Drive · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/workspace/delete_drive_file/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Workspace & account](https://hermoso.ai/docs/reference/workspace/) / delete_drive_file

# `delete_drive_file`

Delete a Drive file destructive

Area: PULL A WHOLE CLOUD FOLDER INTO THE LIBRARY · [Workspace & account](https://hermoso.ai/docs/reference/workspace/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Delete a Drive file. By default it goes to Trash (recoverable); pass permanent:true to delete it forever. Pass fileId (from list_drive_files) + confirm:true. Irreversible when permanent — confirm with the user first.

## Parameters

Parameter Type Description

`fileId` required `string` the Drive file id

`permanent` `boolean` true = delete forever; default trashes (recoverable)

`confirm` `boolean` REQUIRED true

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/delete_drive_file`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"delete_drive_file","arguments":{"fileId":"<string>"}}}`
**CLI**

`hermoso call delete_drive_file --json '{"fileId":"<string>"}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [list_drive_files](https://hermoso.ai/docs/reference/workspace/list_drive_files/) List Google Drive files
- [update_drive_file](https://hermoso.ai/docs/reference/workspace/update_drive_file/) Rename / move / trash a Drive file
- [create_drive_folder](https://hermoso.ai/docs/reference/workspace/create_drive_folder/) Create a Drive folder
- [get_drive_file](https://hermoso.ai/docs/reference/workspace/get_drive_file/) Get a Drive file’s details
- [import_from_cloud](https://hermoso.ai/docs/reference/workspace/import_from_cloud/) Import a Drive / OneDrive folder into the Library

[All 143 Workspace & account tools](https://hermoso.ai/docs/reference/workspace/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
