Update speaker labels
update_speaker_labelsRename speakers on a completed speaker-separation job. Pass jobId and speakers [{ id, label }] using the speaker ids from get_job (e.g. "A", "B"). Empty labels revert to Speaker X. Segment speaker ids are unchanged. Only a completed speaker-separation job in the caller's organization can be renamed.
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>",
"speakers": "<speakers>"
},
"name": "update_speaker_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | Id of a completed speaker-separation job the caller can access. | |
| speakers | Yes | One entry per speaker to rename. |