Report
reportManage interactive report elements: list, retrieve, and generate audio, video, slides, infographics, flashcards, quizzes, and mind maps. Validate and start generation plans for up to 20 elements.
Instructions
Work with an interactive report's embedded elements. Unified report tool.
Create the report itself with studio_create(artifact_type="report", report_format="Interactive"). Then:
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | (generate) list of {"element_id", "steering_prompt"?, "settings"?}. Omit steering_prompt to use the element's saved prompt or card description. settings use names from action="elements". Sources and language come from the report. | |
| action | Yes | Operation to perform: - get: report markdown, prompt, language, source_ids, parse_status and every element - elements: list elements; each has element_id, type (audio|video| slide_deck|infographic|flashcards|quiz|mind_map|unsupported), element_status, description (card recommendation), section ({heading, text} it sits in, or null) and settings (allowed values + defaults). Optional wait_for / timeout / include_content. - generate: validate or run a plan of 1-20 elements (see plan) | |
| confirm | No | (generate) without it the plan is only validated and returned with generations_to_start for the user's approval; with confirm=True every item is started. One item's failure does not stop others; a quota/auth failure stops the rest (stopped_reason). outcome per item: started | failed | unknown (kickoff response lost; NOT re-sent) | not_started. Never set confirm=True unless the user approved this exact plan or explicitly delegated choosing AND generating. | |
| timeout | No | (elements) max seconds to wait (default 600); timed_out=true is not an error | |
| language | No | (generate) BCP-47 override (default: the report's language) | |
| wait_for | No | (elements) element ids to wait on, list or comma-separated; returns when all are completed/failed/suggested/missing or timeout | |
| artifact_id | Yes | Interactive report artifact UUID | |
| notebook_id | Yes | Notebook UUID | |
| include_content | No | (elements) inline content of completed quiz/flashcards/ mind map for review. Review is against the plan and section, not the original sources. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||