delete_file
Permanently remove files from Google's Gemini File API to manage storage, clean up processed data, or delete sensitive information. Files are immediately deleted and cannot be recovered.
Instructions
DELETE FILE FROM GEMINI - Permanently removes file from Gemini File API and clears from cache. USAGE: Pass fileUri from upload or list_files. Immediate deletion, cannot be undone. USE CASE: Clean up after processing, manage storage quota, remove sensitive data. NOTE: Files auto-delete after 48 hours if not manually removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileUri | Yes | The file URI or name to delete |
Input Schema (JSON Schema)
{
"properties": {
"fileUri": {
"description": "The file URI or name to delete",
"type": "string"
}
},
"required": [
"fileUri"
],
"type": "object"
}