Optional chatInitial chat context.
Optional instructionsInitial system instructions.
Optional toolsInitial tools.
Optional turnDisable server-side turn detection for this session. Only providers that report
canDisableTurnDetection honor it.
Options for RealtimeModel.session.
The framework passes the agent's instructions, chat context, and tools when it creates a session. A provider that fixes them at connect time (for example, Gemini Live sends tools in its setup message) applies them to the first connection. It then does not need to reconnect when the same values arrive through
_updateSession.The framework still applies all of these values with
_updateSessionafter creation. A provider can ignore a value that it does not need before it connects.