MCP Gemini Server

by bsmi021
Verified

gemini_getFile

Retrieve metadata for a specific file uploaded to the Gemini API using its unique file name. Designed for use with Google AI Studio API keys within the MCP Gemini Server framework.

Instructions

Retrieves metadata for a specific file previously uploaded to the Gemini API. NOTE: This API is not supported on Vertex AI clients. It only works with Google AI Studio API keys. Requires the unique file name (e.g., 'files/abc123xyz').

Input Schema

NameRequiredDescriptionDefault
fileNameYesRequired. The unique name/ID of the file to retrieve metadata for (e.g., 'files/abc123xyz').

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "fileName": { "description": "Required. The unique name/ID of the file to retrieve metadata for (e.g., 'files/abc123xyz').", "minLength": 1, "pattern": "^files\\/.+$", "type": "string" } }, "required": [ "fileName" ], "type": "object" }
ID: fakxcprcnk