Remove a file from an episode
remove_fileRemove one file from an episode that hasn't started processing yet: a stray or duplicate upload, or a file from the wrong recording. Works for files still uploading too, and for ones uploaded from another device.
Confirm with the user first, naming the file by its label. It can't be undone: to get it back, the user uploads it again.
Use the file's sourceId from get_episode_status's upload list. Once processing has started, WizCut refuses.
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": {
"jobId": "<jobId>",
"sourceId": "<sourceId>"
},
"name": "remove_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The episode's id (jobId), as returned by create_episode or list_episodes. | |
| sourceId | Yes | The file's sourceId, from get_episode_status's upload list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | ||
| removed | Yes | ||
| uploads | Yes | The files left in the episode. | |
| sourceId | Yes |