Save Study Draft
save_study_draftCreates or checkpoints an unfinished Quick or Custom Study draft without starting research. It saves the objective, context, selected Audiences, method, questions, sources, and current planner step. Revisions require the exact draft ID and expected revision, and stale writes are rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Planning mode to restore. Defaults to custom for agent-authored planning state. | custom |
| name | No | Sidebar name for the Study draft. | |
| notes | No | Additional research context or constraints. | |
| draftId | No | Existing Study draft ID to revise. Omit to create a new durable draft. | |
| website | No | Primary website associated with the research context. | |
| groupIds | No | Legacy alias for audienceIds. Accepted for compatibility. | |
| methodId | No | Research method selected for the draft. Use list_research_methods as the availability authority. | guided-research |
| objective | No | Research objective or intent captured so far. | |
| questions | No | Manual research questions in their intended order. | |
| sourceUrls | No | Ordered source URLs supplied as Study context. | |
| audienceIds | No | Existing Audience IDs selected for the Study. Preferred. | |
| currentStep | No | Exact planner step to reopen, such as context, audiences, method, questions, or confirm. The legacy value groups remains accepted when reopening an older draft. | context |
| expectedRevision | No | Exact current revision. Required with draftId so stale updates cannot overwrite newer planning state. |