edit_deploy
Update Deploy tab settings via theme, structure, distribution, github_sync, field_mode, recruitment, my_notifications, or power_analysis patches. power_analysis partially updates the saved, reproducible analysis plan and reads the merged plan back; inspect question and Flow structure before selecting comparison cells or a conjoint question. my_notifications sets your own push/email notifications for this survey (first response, every-N completes, quality flags, quota nearly full/reached). recruitment.connect is a one-click panel setup: study link macros, completion/screen-out/over-quota/quality redirects on end screens, and quota rerouting. Anything that pays participants (approving, bonuses, launching or resizing a paid study) is app-only. Preregistration links and instrument locking are app-only because OSF drafts may require a saved credential and locking uses the app's canonical instrument fingerprint; use Deploy → Preregistration in Domandata.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"survey_id": "<survey_id>"
},
"name": "edit_deploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | Theme, branding, logos, or workspace preset patches | |
| structure | No | Runner structure, survey options, or collection policy | |
| survey_id | Yes | Survey UUID | |
| field_mode | No | Field/offline-administration link: an interviewer opens it once online, then can administer the survey to many respondents while fully offline; each response queues on the device and syncs automatically once back online. | |
| github_sync | No | GitHub Sync repository creation | |
| recruitment | No | One-click recruitment-provider setup (Prolific, CloudResearch Connect/Prime Panels, Cint, SONA, YouGov, Rep Data, other panels): connect, reapply, disconnect, or route screen-out/quality answers to their end screens. Acting on a live study at Prolific or Connect is manage_recruitment; paying participants stays in the app. Read the result back with read_deploy include ["recruitment"]. | |
| distribution | No | Personalized link batches and recipients | |
| power_analysis | No | Saved Deploy → Power assumptions. Partial patches merge into the existing versioned analysis plan; read back with read_deploy include ["power_analysis"]. | |
| my_notifications | No | The signed-in person's own notifications for this survey — the Deploy tab's My Notifications card. Per event: mode (default/on/off), push, email, and its threshold (every, min_severity, percent). Set mode default on every event to clear the overrides. Collaborators use mode on to follow a survey they don't own. These notify the person in the app, by push, and by email; for webhooks to an agent, subscribe to the matching MCP event instead. Returns the same shape as read_deploy include ["my_notifications"]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |