watch_and_analyze
Analyze a video tutorial to extract all technical steps, commands, and code snippets. Returns structured JSON with every command, file path, and tool mentioned.
Instructions
Watch a video tutorial and extract all technical steps, commands, and code.
Downloads the video, analyzes it with Gemini AI, and returns structured JSON with every command, code snippet, file path, and tool mentioned. YouTube returns the result immediately. TikTok/Instagram return a job_id — use check_analysis_job(job_id) to poll for the result.
This tool ONLY analyzes — it does NOT execute anything. Use execute_tutorial_steps to run the extracted steps after review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Video URL (YouTube, TikTok, Instagram). | |
| lang | No | Language hint (e.g., 'en', 'ar', 'auto'). Defaults to auto-detect. | auto |
| model | No | Gemini model to use. Defaults to gemini-2.5-flash. | gemini-flash-latest |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |