Name or save a speaker
update_speakerName or save a speaker, with two kinds of target: a person in one transcription (transcriptionId + speaker number: name them instead of "Speaker N", and with save true create a saved speaker so later transcriptions recognise them; this is the create-a-speaker tool, there is no separate one), or a saved speaker (speakerId: rename, switch their cloned voice on or off, everywhere they are recognised). Use: labelling who spoke here; remembering a person across transcriptions (save true); correcting a saved speaker's name or turning their cloned voice on with their consent. Who is saved: list_speakers. Forgetting someone: delete_speaker. Arguments: give exactly one target: transcriptionId with speaker (the number in "Speaker 2" from get_transcription, not a name or an id) and name, plus save and consent; or speakerId (from list_speakers) with name, clonedVoice or both. A name in a transcription is cut to 80 characters and an empty one undoes it; a saved speaker's, or one with save, is 1 to 60. clonedVoice true needs consent true. Examples: {transcriptionId, speaker: 2, name: "Maria Lopez"}; {transcriptionId, speaker: 2, name: "Maria Lopez", save: true}; {speakerId, clonedVoice: true, consent: true}. Behaviour: free; calling again replaces the name and saves no one twice. In a transcription it applies to that person in every recording of it, and listeners following live see it at once; their speaker number never changes. save keeps their voice fingerprint (and, with consent, clones their voice from their speech here, voiceState training then ready); the person must have spoken, and a live transcription can still be running. clonedVoice true clones a saved speaker from their stored sample if they have no clone yet; false keeps the clone, unused (delete_speaker erases it). Nothing else about the person changes. Returns: transcriptionId, speaker, name (null when cleared), and with save speakerId, saved (false when they were already saved), consent, cloned and voiceState; or, with speakerId, speakerId, name, consent, clonedVoice, and voiceState when cloned. Errors: invalid_options for both or neither kind of target, nothing to change, a bad name, save or clonedVoice with the wrong target, too little of their speech to save (the message says how much there is), or clonedVoice true without consent; invalid_state for a saved speaker who refused cloning or has no sample; not_found for an unknown transcription, speaker number or speakerId; forbidden for a read-only key.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_speaker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The name to show instead of "Speaker N", trimmed: up to 80 characters in one transcription (an empty string clears it back to "Speaker N"), 1 to 60 for a saved speaker or with save. Required with transcriptionId. | |
| save | No | With transcriptionId and speaker only: true also saves this person to the account's saved speakers, so later transcriptions recognise and name them; their own speech here is the sample. A person already saved from this transcription is not saved twice. | |
| consent | No | true only when this person agreed to have their voice cloned: needed with clonedVoice true, and with save it clones them too, from their own speech in this transcription. Recorded with your account and the time. Never set it without the person's agreement; not needed to turn a cloned voice off. | |
| speaker | No | With transcriptionId: the N of "Speaker N" in get_transcription's text, or speakerNumber in its segments; it stays the same after naming. | |
| speakerId | No | Instead of transcriptionId and speaker: a saved speaker's id (id in list_speakers, or speakerId from update_speaker with save), changed everywhere they are recognised. | |
| clonedVoice | No | With speakerId only: true reads translations of this person's own words in their own cloned voice (needs consent true; cloned from their stored sample if not yet), false back to a stock voice (the clone is kept, unused). | |
| transcriptionId | No | With speaker: the transcription the speaker is in (from create_transcription, list_transcriptions, search_transcriptions or start_broadcast). Leave out with speakerId. |