analyze_videos_batch_start
Submit multiple YouTube videos for low-cost batch analysis via Gemini API, delivering results within 24 hours. Suitable for scheduled or non-urgent tasks.
Instructions
Submit a batch of YouTube videos to Gemini Batch API for async analysis.
Use this ONLY when the user explicitly says "no rush", "overnight",
"do it later", or for scheduled cron digests. Batch is 50% cheaper
than analyze_video_start but the wall-clock SLA is up to 24 hours
(typically 15-60 min). For interactive requests — even multi-video
ones like "summarize today's new videos" — prefer analyze_video_start
fired N times in parallel (~5-10 min wall-clock for any N).
Args:
video_urls: List of full YouTube URLs (https://www.youtube.com/watch?v=...)
prompt: Optional override for the analysis prompt. If None, the
default ships with an investment-podcast persona — set
$VIDEO_ANALYSIS_PROMPT_PATH to change the host-wide default,
or pass prompt here for a per-batch override.
Returns: { batch_job_name, video_count, video_urls, status: "pending", skipped: [{video_url, reason}] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_urls | Yes | ||
| prompt | No |