Skip to main content
Glama

Node.js Sandbox MCP Server

ai_generate

Generate text responses using Google Gemini AI models by providing prompts, with options to specify model and token limits for tailored outputs.

Instructions

Generate text using Google Gemini. Provide a prompt and optional model name.

Input Schema

NameRequiredDescriptionDefault
maxTokensNoMaximum tokens in the response
modelNoGemini model namemodels/gemini-2.0-flash-exp
promptYesPrompt to send to Gemini

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "maxTokens": { "description": "Maximum tokens in the response", "type": "number" }, "model": { "default": "models/gemini-2.0-flash-exp", "description": "Gemini model name", "type": "string" }, "prompt": { "description": "Prompt to send to Gemini", "minLength": 1, "type": "string" } }, "required": [ "prompt" ], "type": "object" }

Other Tools from Node.js Sandbox MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/ssdeanx/node-code-sandbox-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server