Remove a file from the episode
remove_upload_sourceCalled by the upload panel when the user removes a file from the episode: one they added there (e.g. one that failed and won't be retried, so it doesn't hold up processing) or one from another device. Cancels its multipart upload if there is one. Only before processing starts.
Used by WizCut's upload panel in the chat; don't call it yourself — send the user the upload link from create_episode instead.
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_upload_source"
}
}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 add_upload_source. | |
| multipart | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| removed | Yes | ||
| sourceId | Yes |