delete_shot_media_ref
Delete shot media refs matching a mediaId and optional role. Optionally clears imageMediaId/videoMediaId when they point at the removed media.
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": {
"workspaceId": "<workspaceId>",
"editId": "<editId>",
"shotId": "<shotId>",
"mediaId": "<mediaId>"
},
"name": "delete_shot_media_ref"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Optional role to narrow removal | |
| editId | Yes | The edit ID | |
| shotId | Yes | The shot ID | |
| mediaId | Yes | Media ID to remove from mediaRefs | |
| workspaceId | Yes | The workspace ID | |
| clearPrimaryMediaId | No | Clear imageMediaId/videoMediaId if it matches the removed media |