gemini_analyze_media
Analyze audio, video, and image files to transcribe speech, separate speakers, describe visual content, and assess background-music fit.
Instructions
Have Gemini (via the agy CLI, subscription) watch / listen to / look at media files.
Transcription and speaker separation, what happens on screen, whether BGM suits a scene, rough positions in a frame. agy cannot run commands: cut long media first with media_clip / media_audio / media_frames (30-60 s, 720p). more_files: extra files for the same question (e.g. a few frames; keep it under ~10 images). For coordinates, use frames with a grid and model gemini-4-neon-high. The answer is summarised into the session. model: agy model id (default gemini-4-hydrogen-high).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>",
"prompt": "<prompt>"
},
"name": "gemini_analyze_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| prompt | Yes | ||
| file_path | Yes | ||
| more_files | No | ||
| session_id | No |