add_to_vocabulary
Add a custom term to the voice vocabulary to fix mis-transcriptions. Provide the spelling and optional pronunciation hint so Whisper recognizes it correctly.
Instructions
Add a custom term to ContextPulse's voice vocabulary so Whisper recognizes it correctly.
Returns the stored term, normalized form, and any pronunciation hint accepted.
USE WHEN: a proper noun or technical term keeps mis-transcribing and you want to teach the recognizer. NOT FOR: bulk vocabulary loads — use the local CLI for that. ALTERNATIVES: remove_from_vocabulary to undo, get_vocabulary to inspect.
BEHAVIOR: SIDE EFFECT — writes to the vocabulary database. Persists across daemon restarts. Idempotent for identical (term, pronunciation) pairs; second add updates the entry rather than duplicating.
PARAMETERS: term: the spelling you want Whisper to produce. Required, non-empty. pronunciation: optional phonetic hint (CMU dict format or plain English approximation). Omit to let ContextPulse infer.
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": {
"term": "<term>"
},
"name": "add_to_vocabulary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | ||
| pronunciation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |