video_create_session
Create a persistent session for multi-turn video exploration using a YouTube URL or local file. Optionally download YouTube videos for faster multi-turn interactions.
Instructions
Create a persistent session for multi-turn video exploration.
Provide exactly one of url or file_path. When download=True and the
source is YouTube, the video is downloaded via yt-dlp, uploaded to the
Gemini File API, and context-cached for fast multi-turn use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | YouTube video URL. | |
| file_path | No | Path to a local video file. | |
| description | No | Session purpose or focus area | |
| download | No | Download YouTube video locally for cached multi-turn sessions. Slower startup (~2 min) but faster and cheaper per turn. Requires yt-dlp installed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||