rename_speaker_label
Renames a speaker diarization label across all transcript turns and refreshes the editable Word (.docx) export.
Instructions
Globally renames or codes a speaker diarization label across all turns (e.g. Enquêté P1, Mme Dubois) and refreshes the 100% editable Word (.docx) export.
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": {
"file_id": "<file_id>",
"old_speaker": "<old_speaker>",
"new_speaker": "<new_speaker>"
},
"name": "rename_speaker_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | Unique transcription identifier. | |
| new_speaker | Yes | New speaker name or participant code (e.g. 'Enquêté P1', 'Mme Dubois'). | |
| old_speaker | Yes | Current speaker diarization label to replace. |