See who's on which camera
get_speaker_mappingThe detected speakers, the episode's cameras, and WizCut's proposal for who is on which camera — everything needed to settle the camera mapping.
Call this when get_episode_status says the episode is in "mapping". Speakers are labels like SPEAKER_00 ordered by talk time; the user knows who they are (usually the host talks most). A speaker the user has named has a name ("Anna"): talk about them by name, but send the label in tracks. When the user tells you who is who, pass the names in set_speaker_mapping's speakerNames.
draft is what the user already picked themselves (in the WizCut editor, usually) but hasn't submitted yet. When there is one, it is the user's answer: if they say continue or go ahead, submit exactly draft.tracks with set_speaker_mapping, not the proposal or your own guess.
suggestedTracks holds the answers WizCut is sure about (high confidence). Cameras with low or no confidence need the user's judgement: describe the proposal and ask, using the camera labels (they're the file names the user uploaded).
Next: call set_speaker_mapping with one track per camera, or send the user to the review link to do it visually.
In chat apps that show WizCut's mapping view under this result, the user can see each camera, hear each speaker and confirm right there; the view tells you when they do, and then you don't call set_speaker_mapping yourself.
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": "get_speaker_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The episode's id (jobId), as returned by create_episode or list_episodes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | Yes | Picks the user saved but hasn't submitted (while in mapping); null when they haven't picked anyone. | |
| jobId | Yes | ||
| status | Yes | ||
| cameras | Yes | ||
| speakers | Yes | ||
| audioSources | Yes | ||
| cameraGroups | Yes | Cameras that split one recording into several files, source IDs in time order. Each group is one camera: give its files the same speakers (a file you leave out takes its group's). | |
| speakerNames | Yes | Speaker label → the name the user gave them. | |
| syncWarnings | Yes | Files WizCut couldn't confirm are in sync, or that slowly drift out of step: the video may be out of lip sync on them. Empty when every file matched. | |
| currentTracks | Yes | ||
| mappingNeeded | Yes | True while the episode is in "mapping". | |
| proposalReady | Yes | ||
| droppedSpeakers | Yes | ||
| suggestedTracks | Yes | ||
| unassignedSpeakers | Yes |