OptionalidOptionalsttOptionalttsTTS configuration. Optional — can be set at the application level.
OptionalturnTurn detection strategy. String shorthand ('stt' or 'krisp') or object with tunable params.
OptionalbargeBarge-in configuration — controls user interruption of assistant speech.
LLM configuration.
OptionalactionWebhook when agent ends.
OptionaleventWebhook for agent events.
OptionaltoolWebhook when the LLM requests a tool/function call.
OptionaltoolConfiguration for playing filler audio while tool calls are in progress. Prevents silence during long-running tool executions.
Filler mode. 'audio' plays a looping audio file. 'backchannel' uses TTS to speak short phrases.
OptionalstartDelaySecs?: numberSeconds to wait after tool invocation before playing filler. Default: 2.
Optionalurl?: stringAudio file URL (for type='audio'). Should be loopable.
Optionalstyle?: stringFree-form style hint for LLM-generated phrases (for type='backchannel').
OptionalescalationSecs?: numberSeconds from tool invocation before generating a longer explanatory response (for type='backchannel'). Default: 10.
OptionalgreetingWhether the LLM generates an initial greeting before the user speaks. Default: true.
OptionalearlySpeculatively prompt the LLM on final transcript before Krisp end-of-turn. Default: false.
OptionalnoiseEnable server-side noise isolation to reduce background noise on call audio. Defaults to inbound (caller) audio; set direction to 'write' for outbound.
OptionalmcpExternal MCP servers that provide tools to the LLM.
OptionalnoSeconds to wait after assistant finishes speaking before prompting user to respond. 0 disables. Default: 0.
OptionalautoAuto-adjust STT/TTS based on detected language. true=lock on first, 'always'=adapt every turn.
OptionallanguagePer-language TTS overrides. Keys are BCP-47 codes (e.g., 'es', 'fr').
STT configuration. Optional — can be set at the application level.