generate_analytics
Trigger AI-powered analytics generation for a study with completed participant sessions. Produces qualitative insights, quantitative data, Q&A analysis, summary, and overall insights.
Instructions
Trigger AI-powered analytics generation for a study.
⚠️ PREREQUISITE: The study must have at least one completed participant session. Call get_participants first — if no sessions are completed, analytics cannot be generated. Also call get_analytics_status first to avoid redundant generation.
⏱️ This takes 2-5 minutes depending on the number of sessions. Inform the user this will take several minutes.
This generates all analytics components: qualitative insights, quantitative data, Q&A analysis, summary, and overall insights.
This call returns immediately — generation runs in the background. After calling this, poll get_analytics_status to monitor progress:
Call get_analytics_status up to 10 times to check for completion.
If still not complete after 10 checks, tell the user: "Analytics generation is still in progress. Please ask me to check again in a few minutes."
Once complete, call the appropriate read tools for what the user needs.
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 |