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.
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.