gemini_functionCall
Facilitates function calling with Google Gemini models by accepting function declarations and returning text responses or function call requests based on the prompt. Does not execute functions directly.
Instructions
Generates content using a specified Google Gemini model, enabling the model to request execution of predefined functions. This tool accepts function declarations and returns either the standard text response OR the details of a function call requested by the model. NOTE: This tool only returns the request for a function call; it does not execute the function itself.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
functionDeclarations | Yes | Required. An array of function declarations (schemas) that the model can choose to call based on the prompt. | |
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. | |
safetySettings | No | ||
toolConfig | No | Optional configuration for tools, specifically function calling. |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from MCP Gemini Server
Related Tools
- @bsmi021/mcp-gemini-server
- @bsmi021/mcp-gemini-server
- @bsmi021/mcp-gemini-server
- @bsmi021/mcp-gemini-server
- @bsmi021/mcp-gemini-server