setVocabulary
Sets the project's Whisper vocabulary list so transcription spells names and technical terms correctly. An empty string clears it; re-transcribe assets to apply changes to existing transcripts.
Instructions
Set the project's vocabulary: the names and technical terms Whisper is primed with on every transcription of this project, so it spells them right (at most 600 characters, read as a plain list such as "OpenScreen, Vulkan, whisper.cpp"). An empty string clears it. It changes no existing transcript: transcribe the asset again for that. getCurrentDocument reports it as vocabulary.
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": {
"vocabulary": "<vocabulary>"
},
"name": "setVocabulary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | The project to act on, from listProjects. Omit it only for the project open in the OpenScreen editor, which works only while the app runs. | |
| vocabulary | Yes |