@jambonz/schema 0.3.8 → 0.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53,6 +53,22 @@
53
53
  "silence_duration_ms": { "type": "number", "description": "Milliseconds of silence to detect end of speech." }
54
54
  },
55
55
  "required": ["type"]
56
+ },
57
+ "vadMode": {
58
+ "type": "integer",
59
+ "minimum": 0,
60
+ "maximum": 3,
61
+ "description": "Local VAD aggressiveness (0-3). Used only with 'gpt-realtime-whisper'."
62
+ },
63
+ "vadSilenceMs": {
64
+ "type": "integer",
65
+ "minimum": 1,
66
+ "description": "Milliseconds of silence to detect end-of-speech for local VAD. Used only with 'gpt-realtime-whisper'."
67
+ },
68
+ "vadVoiceMs": {
69
+ "type": "integer",
70
+ "minimum": 1,
71
+ "description": "Milliseconds of voice to detect start-of-speech for local VAD. Used only with 'gpt-realtime-whisper'."
56
72
  }
57
73
  },
58
74
  "additionalProperties": false
@@ -113,6 +113,8 @@ The `turn_end` event is the most useful for observability. It includes per-compo
113
113
 
114
114
  ## toolHook (function calling)
115
115
 
116
+ > **Before implementing a custom toolHook handler**, check if `@jambonz/tools` provides a pre-built tool that fits your needs (weather, web search, calculator, date/time, Wikipedia). Use `createWeather()`, `createTavilySearch()`, etc. with `registerTools()` to avoid hand-rolling common functionality. Call `list_jambonz_tools` in the MCP server for the full catalog.
117
+
116
118
  When the LLM requests a tool/function call, the agent sends a request to the `toolHook` with:
117
119
 
118
120
  ```json
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/schema",
3
- "version": "0.3.8",
3
+ "version": "0.3.10",
4
4
  "description": "JSON Schema definitions and validation for jambonz verb applications",
5
5
  "main": "index.js",
6
6
  "scripts": {