Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Count Tokens (Gemini)
GEMINI_COUNT_TOKENSCounts the number of tokens in text using Gemini tokenization. Useful for estimating costs, checking input limits, and optimizing prompts before making API calls.
Embed Content (Gemini)
GEMINI_EMBED_CONTENTGenerates text embeddings using Gemini embedding models. Converts text into numerical vectors for semantic search, similarity comparison, clustering, and classification tasks.
Generate Content (Gemini)
GEMINI_GENERATE_CONTENTGenerates text content or speech audio from prompts using Gemini models. Supports text generation models (Gemini Flash, Pro) and text-to-speech models with configurable parameters. Generated text is nested at results[i].response.data.text. Output may be wrapped in markdown fences (e.g., ```html...```) or preceded by explanatory prose; strip these before file writing or rendering.
Generate Image (Nano Banana)
GEMINI_GENERATE_IMAGEGenerates a downloadable image from a text prompt, defaulting to Nano Banana 2 Lite on managed connections and Gemini 3 Pro Image Preview on other connections. Managed requests require a 1–1000 character prompt and default 1K square settings; a timeout can leave the provider outcome unknown.
Generate Videos
GEMINI_GENERATE_VIDEOSStarts an MP4 video generation from a text prompt with Gemini Omni 1.2 Flash (360p to 4k, 3 to 15 seconds, 16:9 or 9:16) and returns an operation_name right away. Generation usually takes one to a few minutes: pass operation_name to GEMINI_WAIT_FOR_VIDEO to get the file. On Instant the charge applies once Google accepts the job, so poll the same handle instead of resubmitting. Instant requests need a 1-1000 character prompt, an explicit duration and a price within the $2 per-request cap.
Get Video Generation Status
GEMINI_GET_VIDEOS_OPERATIONChecks a Gemini Omni Flash video generation started by GEMINI_GENERATE_VIDEOS once, without waiting. Returns status pending, succeeded (with video_file) or failed. Reuse the same operation_name to poll; a new generation is a separate paid request.
List Models (Gemini API)
GEMINI_LIST_MODELSLists available Gemini models with their capabilities and limits. Useful for discovering supported models and their features before making generation requests.
Wait and Download Video
GEMINI_WAIT_FOR_VIDEOWaits up to about 45 seconds for a Gemini Omni Flash video started by GEMINI_GENERATE_VIDEOS and returns the MP4 when ready. If it is still generating, returns pending=true with the same operation_name: call this action again with it, and do not resubmit a paid generation. success=true includes video_file; success=false means the generation failed.