Create Study Plan
create_study_planCreates a non-executing draft in an existing Study with its Audiences already attached. The setup operation for two or more known questions: every question known now belongs in this one draft, in cohesive named modules. A one-question draft is only for genuinely standalone research or an adaptive follow-up. request designs questions; questions preserves a fixed instrument verbatim. Each Mind sees only its own earlier answers; askIf applies respondent-level skip logic. With multiple attachments, stimulus.questionAttachments assigns each question; [] means none. Saving bounded history may prune older revisions. Research has not started; the returned draft revision needs review and later explicit confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| study | No | Study id or name. Omit to use the active Study of this MCP session. | |
| policy | No | Research method and locale for this plan. Each Mind automatically uses its relevant knowledge alongside the assigned Study stimulus. | |
| request | No | Planner input containing the research objective, questionnaire, survey, battery, section, cohesive question set, audit request, or analysis request. Required for a new draft. Include EVERY question already known in this one request so the planner can group the complete set into cohesive named modules for one confirmed multi-question run inside the Study; never create one planning request per known question. This request is not sent verbatim to Minds; the exact proposed respondent-visible questions are returned in the draft for review. | |
| stimulus | No | Source and attachments shown to the respondents, with per-question assignments. | |
| questions | No | Fixed instrument: use INSTEAD of request when the user supplies a pre-registered or fixed questionnaire whose wording, order, and response formats must not change. The planner is bypassed; every question is stored verbatim, in this order, with exactly this response contract. Cannot be combined with refinement, answers, questionResponses, or suggestQuestionStimuli in the same call; answer the draft's confirmation questions afterwards with draft.id, draft.revision and draft.answers alone, which keeps these questions exactly. Repeated question texts or colliding ids are rejected. A saved Study template's configuration.questions can be passed here (each item's text and response); pass its configuration.methodId as policy.methodId so the template's method runs. Without it a fixed instrument runs as Custom research (guided-research). | |
| idempotencyKey | No | Optional stable retry key. When omitted the tool derives one from its own arguments, so a repeated identical call (including a host retry after a timeout) returns the draft revision that was already saved instead of planning again. Pass a fresh key to force a new plan for identical input. | |
| conversationFiles | No | Stimulus files for the planned block, added to stimulus.attachments. Files shared in this conversation: uploaded or generated images, PDFs, documents. Each is copied into Minds storage on receipt; its file_id is its attachment id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| studyId | No | Study the plan belongs to. | |
| revision | No | Draft revision to confirm. | |
| nextAction | No | What to do next: show the draft and wait for explicit confirmation. | |
| draftPlanId | No | Draft plan to confirm with start_study_run. | |
| draftReview | No | The saved draft as reviewed: questions, methods, outputs and confirmation choices. | |
| audienceAttachment | No | With study.audienceIds: attached (added now) and alreadyAttached Audience IDs. |