gemini_delete_file
Delete an uploaded file from the Gemini Files API before its automatic expiry. Requires confirmation to proceed.
Instructions
Delete an uploaded file from the Gemini Files API before its ~48h expiry. Any tool call still referencing it will then fail with a generic 404, so delete only references you are finished with.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to proceed. Without this, the tool returns a preview. | |
| file_uri | Yes | The `files/<id>` reference (or full uri) to delete |