setStepMedia
Sets or clears the media (image, video, or file) shown on a step. Pass an attachmentId from uploadMedia (target 'step') to set it — any existing media on the step is replaced — or attachmentId=null to remove the current media. A TriggeredEmail step shows no media and is rejected here. On a draft or scheduled beta project the change is applied immediately. On a running or paused beta project the change is STAGED: testers do not see it until commitTaskChanges publishes all staged changes (revertTaskChanges discards them; getBetaTasks with version 'unpublished' shows the staged state). While staging, these tools accept BOTH the live id and the staged id of a task or step, but always respond with the STAGED row — expect ids you did not pass in, with liveVersionId linking back to the live row. Content of finished or archived beta projects cannot be edited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stepId | Yes | ID of the step within the task, from getBetaTasks. Never invent ids. | |
| taskId | Yes | ID of the task, from getBetaTasks. Never invent ids. | |
| productId | Yes | ID of the beta project to query. Get valid IDs from the listProducts tool. | |
| attachmentId | Yes | Attachment handle from uploadMedia (target 'step'), or null to remove the step's current media. |