generate_study_report
Kick off generation of a comprehensive study report. Ensure analytics are generated first, then trigger this background process and check status for completion.
Instructions
Trigger generation of the comprehensive study report.
⚠️ PREREQUISITE: Analytics must be generated first. Call get_analytics_status — if analytics are missing, call generate_analytics and wait for completion before calling this.
⏱️ This takes 3-5 minutes. Inform the user this will take several minutes.
This call returns immediately — report generation runs in the background. After calling this, poll get_analytics_status to check the report component:
Call get_analytics_status up to 10 times to check for completion.
If still not complete after 10 checks, tell the user: "Report generation is still in progress. Please ask me to check again in a few minutes."
Once the report component shows as complete, call get_study_report.
Args: study_id: The unique identifier of the study.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| study_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |