Optional additionalOptional apiPhonic API key. If not provided, will attempt to read from PHONIC_API_KEY environment variable
Optional audioAudio playback speed
Optional baseOptional boostedKeywords to boost in speech recognition
Optional connConnection options for the API connection
Optional defaultISO 639-1 default language for recognition and speech
Optional forbidNames of tools after which Phonic should NOT auto-generate a spoken reply.
Use for tools that always hand off / trigger an agent switch (e.g. advancing
a task in a TaskGroup). After such a tool, the outgoing agent would otherwise
speak a reply that the handoff's session reset immediately cancels, producing a
race / double-speak. Forbidding speech lets only the incoming agent speak.
Only list tools that ALWAYS hand off — a listed tool that returns without handing off will leave the agent silent (no reply is generated). Tools not listed keep the default behavior (a reply is generated after the tool output).
Optional generateAuto-generate poke text when user is silent
Optional generateWhen true, the welcome message will be automatically generated and welcomeMessage will be ignored
Optional languages?: string[]Deprecated. Use defaultLanguage and additionalLanguages instead.
When both of those are omitted and this is set, languages[0] is the default
language and languages.slice(1) are additional languages.
Optional minMinimum number of user words required to interrupt the assistant
Optional model?: stringThe name of the model to use. Defaults to 'merritt'
Optional multilingualauto: detect language per utterance. request: switch only when the user asks (recommended).
Optional noSeconds of silence before ending conversation
Optional noSeconds of silence before sending poke message
Optional noPoke message text (ignored when generateNoInputPokeText is true)
Optional phonicPhonic agent to use for the conversation. Options explicitly set here will override the agent settings.
Optional phonicPhonic tool names available to the assistant
Optional project?: stringProject name to use for the conversation. Defaults to main
Optional voice?: stringVoice ID for agent outputs
Optional welcomeWelcome message for the agent to say when the conversation starts. Ignored when generateWelcomeMessage is true
The model name/identifier used by this realtime model
Further ISO 639-1 codes (must not include
defaultLanguage)