extract_recipe_ingredients
Extract structured recipe ingredients, equipment, and cooking techniques from transcript text or YouTube URLs to enable recipe monetization and affiliate product matching.
Instructions
Extract structured recipe data from transcript text or YouTube URL: recipe name, ingredients with quantity and unit, equipment list, and cooking technique tags. YouTube URL transcription requires yt-dlp installed on the server — if not available the call fails; pass raw transcript text for reliable extraction in all environments. Returns ingredient list ready for match_ingredients_to_products and suggest_affiliate_products. Call this first — both downstream tools reuse its cache. Use for recipe monetization, shoppable recipe creation, and cooking content commerce. Example: recipe_id='chocolate-chip-cookies-v1', transcript='2 cups flour...' → returns {ingredients:[{name:'flour',quantity:'2',unit:'cups',category:'pantry'},...]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transcript | Yes | Raw transcript text OR a YouTube URL (e.g. https://youtube.com/watch?v=...) | |
| recipe_id | No | Optional recipe identifier for caching. Auto-derived from content if omitted. | |
| api_key | No | Optional API key for paid access beyond the free tier |