generate_and_download
Generate and download artifacts like reports, audio, slide decks, quizzes, or infographics from a notebook in a single call. Supports custom instructions, audio formats, and quiz settings.
Instructions
Generate an artifact and download it in a single call.
Supports: report, audio, slide_deck, quiz, infographic.
Args: notebook_id: ID of the notebook artifact_type: One of: report, audio, slide_deck, quiz, infographic output_path: Path where to save the downloaded file. Use the correct extension: .pdf (report, slide_deck, infographic), .wav (audio), .json/.md/.html (quiz, based on quiz_output_format) instructions: Custom instructions for generation (optional). For slide decks, pass a design template here to control visual style. audio_format: Audio format: deep-dive, brief, critique, debate audio_length: Audio length: short, medium, long quiz_quantity: Quiz quantity: few, standard, more quiz_difficulty: Quiz difficulty: easy, medium, hard quiz_output_format: Quiz download format: json, markdown, html
Returns: Dictionary with generation and download status
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notebook_id | Yes | ||
| output_path | Yes | ||
| audio_format | No | deep-dive | |
| audio_length | No | medium | |
| instructions | No | ||
| artifact_type | Yes | ||
| quiz_quantity | No | standard | |
| quiz_difficulty | No | medium | |
| quiz_output_format | No | json |