Set who's on which camera
set_speaker_mappingTell WizCut which speakers each camera shows, while the episode is in "mapping". WizCut then generates the cuts.
Send one track per camera you want used: its sourceId (from get_speaker_mapping) and the speaker labels it shows. A wide or two-shot camera can show several speakers; a camera left out (or with no speakers) is only used as a cutaway.
If get_speaker_mapping returned a draft, the user already picked the cameras themselves: send exactly draft.tracks rather than WizCut's proposal or a guess of your own, unless the user tells you to change something.
When the user has told you who the speakers are ("Anna is the host"), pass speakerNames too, so WizCut shows names instead of "Speaker 00".
Next: the episode moves to "ready" — or, if it was created with review false, starts rendering by itself. Check get_episode_status.
Only while the episode is in "mapping". To change who's on which camera after the cuts exist, use ask_editor with the user's words 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>",
"tracks": "<tracks>"
},
"name": "set_speaker_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The episode's id (jobId), as returned by create_episode or list_episodes. | |
| tracks | Yes | One entry per camera to use. | |
| speakerNames | No | Optional names for the speakers, by label, when the user tells you who is who: {"SPEAKER_00": "Anna"}. Up to 40 characters each; "" removes a name. Speakers you leave out keep their names. WizCut shows them in its editor and in the chat. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | ||
| status | Yes | ||
| cutCount | Yes | ||
| reviewUrl | Yes | ||
| speakerNames | Yes | Every speaker's name after this call; null when names weren't sent or couldn't be saved. | |
| renderStarted | Yes |