Retry a failed episode
retry_episodeRestart a failed episode from the step that failed (syncing the cameras, speaker detection or rendering). Nothing needs uploading again.
Call it when get_episode_status says the episode failed and suggests retry_episode. Tell the user what went wrong first. When get_episode_status suggests no tool (status "failed" with a contact-support next step), retrying won't help: the user needs a new episode or support@wizcut.com.
If speaker detection found no speech in the files it listened to, a plain retry fails the same way: ask the user which file has the clearest recording of everyone talking and pass its sourceId (from get_episode_status's file list) in diarizeSourceIds. That restarts from syncing.
An episode can be retried 5 times an hour. Retrying a render also counts against the account's limit of 3 concurrent renders (TOO_MANY_RENDERS). Next: it returns straight away; check get_episode_status in a few minutes. In chat apps that show WizCut's progress view under this result, the user watches it there.
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>"
},
"name": "retry_episode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The episode's id (jobId), as returned by create_episode or list_episodes. | |
| diarizeSourceIds | No | Only when the files listened to for speaker detection had no speech: the sourceId(s) of the file(s) to listen to instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | ||
| status | Yes | The step the retry restarted. | |
| repickedSources | Yes | A new pick of files for speaker detection was sent. |