ai_generate
Generate text responses using Google Gemini AI models within a secure Node.js sandbox environment for coding and development tasks.
Instructions
Generate text using Google Gemini. Provide a prompt and optional model name.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
maxTokens | No | Maximum tokens in the response | |
model | No | Gemini model name | models/gemini-2.0-flash-exp |
prompt | Yes | Prompt 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"
}