# delete_drive_file (https://sellersheetai.com/docs/mcp-api/tools/delete_drive_file)

> Delete or trash a file.

Access: **DESTRUCTIVE** · toolset google_workspace · family null

## Call it

MCP tool call:

```json
{
  "name": "delete_drive_file",
  "arguments": {
    "fileId": "<fileId>"
  }
}
```

Tool API (early access — contact us):

```bash
curl -X POST https://api.sellersheetai.com/api/v1/tools/delete_drive_file \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"fileId":"<fileId>"}'
```

## Arguments

| Name | Type | Required | Description |
|---|---|---|---|
| `fileId` | string | yes | the Drive file ID. |
| `permanent` | boolean |  | If true, permanently delete. If false, move to trash (default false). |

## Result

- `success` — Boolean indicating successful deletion.

## Example

- delete_drive_file(fileId="1XYZ...") delete_drive_file(fileId="1XYZ...", permanent=True)