cleanup_all_files
Removes all uploaded files from Gemini AI storage to clear cache, reset environments, or manage storage quotas. Returns deletion counts and details.
Instructions
BULK DELETE ALL FILES - Removes ALL files from Gemini File API associated with current API key. Clears entire cache. RETURNS: Count of deleted vs failed deletions with detailed lists. USE CASE: Complete cleanup after batch processing, reset environment, clear storage quota. WARNING: Irreversible operation affecting all uploaded files.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cleanup_all_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||