Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
GEMINI_API_KEY | No | Your Gemini API key from Google AI Studio |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
configure_gemini_token | Configure your Gemini API token for nano-banana image generation |
generate_image | Generate a NEW image from text prompt. Use this ONLY when creating a completely new image, not when modifying an existing one. |
edit_image | Edit a SPECIFIC existing image file, optionally using additional reference images. Use this when you have the exact file path of an image to modify. |
get_configuration_status | Check if Gemini API token is configured |
continue_editing | Continue editing the LAST image that was generated or edited in this session, optionally using additional reference images. Use this for iterative improvements, modifications, or changes to the most recent image. This automatically uses the previous image without needing a file path. |
get_last_image_info | Get information about the last generated/edited image in this session (file path, size, etc.). Use this to check what image is currently available for continue_editing. |