removeStepMedia
Removes the media (image, video, or file) shown on a step and deletes its stored file, like setStepMedia with attachmentId=null. A no-op (cleared: false) when the step has no media. 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.
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": {
"productId": "<productId>",
"taskId": "<taskId>",
"stepId": "<stepId>"
},
"name": "removeStepMedia"
}
}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. |