Skip to main content
Glama

delete_file

Permanently remove files from Gemini AI storage to manage quotas, clean up after processing, or delete sensitive data. Uses file URI for immediate deletion that cannot be undone.

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

TableJSON Schema
NameRequiredDescriptionDefault
fileUriYesThe file URI or name to delete

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mintmcqueen/gemini-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server