revise_usability_test
Edits a usability test. Takes exactly one of proposalId (an unlaunched draft) or projectId (an already-launched test). Draft: plain-language changes and/or structured edits (add or remove tasks, questions and learning goals by index, swap personaIds, set edits.audience). Returns an updated plan under a new proposalId that replaces the previous one; nothing is launched. The number of AI testers changes only through edits.audience.numTesters. Launched test: only the audience can change (edits.audience, edits.personaIds). The change is saved to the project and echoed back as audience, and nothing runs until relaunch_usability_test. Tasks, questions and learning goals of a launched test cannot be edited; a new test is needed for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edits | No | ||
| changes | No | ||
| projectId | No | ||
| proposalId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| testId | No | Launched-project variant: the edited project id (unchanged). | |
| intents | No | Intent presets available for a re-propose. | |
| message | No | Launched-project variant: the change is saved; relaunch to run it. | |
| audience | No | The resolved audience envelope echoed back so the caller can report exactly what was applied. | |
| personas | No | Personas this proposal will run. | |
| taskPlan | No | ||
| quickScan | No | Instant L1 design scan; null when nothing surfaced. | |
| numTesters | No | Number of AI testers this proposal will deploy. | |
| proposalId | No | Cache handle passed to launch_usability_test. | |
| projectMeta | No | Resolved project copy/metadata persisted at launch. | |
| taskDetails | No | Fully-resolved tasks with per-task success/feedback toggles. | |
| learningGoals | No | Analytics objectives this test will be measured against. | |
| reusedProject | No | Launched-project variant: confirms no new project was created. | |
| reviewMessage | No | User-facing message: this is a reviewable plan that has NOT launched. | |
| personaGallery | No | Other gallery personas the caller can swap in. | |
| questionDetails | No | Fully-resolved follow-up questions with depth/type/options. |