gemini_generateContent
Generate complete text responses using Google Gemini models. Process single-turn prompts with optional control over token limits, creativity, and safety settings for tailored content creation.
Instructions
Generates non-streaming text content using a specified Google Gemini model. This tool takes a text prompt and returns the complete generated response from the model. It's suitable for single-turn generation tasks where the full response is needed at once. Optional parameters allow control over generation (temperature, max tokens, etc.) and safety settings.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
generationConfig | No | Optional configuration for controlling the generation process. | |
modelName | No | Optional. The name of the Gemini model to use (e.g., 'gemini-1.5-flash'). If omitted, the server's default model (from GOOGLE_GEMINI_MODEL env var) will be used. | |
prompt | Yes | Required. The text prompt to send to the Gemini model for content generation. | |
safetySettings | No | Optional. A list of safety settings to apply, overriding default model safety settings. Each setting specifies a harm category and a blocking threshold. |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from MCP Gemini Server
Related Tools
- @georgejeffers/gemini-mcp-server
- @bsmi021/mcp-gemini-server
- @bsmi021/mcp-gemini-server
- @bsmi021/mcp-gemini-server
- @Lorhlona/geminiserchMCP