LiveResponsesConfig

@Serializable
data class LiveResponsesConfig(val model: ModelId, val instructions: String? = null, val maxOutputTokens: Int? = null, val parallelToolCalls: Boolean? = null, val reasoning: LiveResponseReasoning? = null, val serviceTier: String? = null, val text: LiveResponseText? = null, val toolChoice: JsonElement? = null, val tools: List<ResponseToolDefinition>? = null)

Backend configuration for Live Responses delegation.

Constructors

Link copied to clipboard
constructor(model: ModelId, instructions: String? = null, maxOutputTokens: Int? = null, parallelToolCalls: Boolean? = null, reasoning: LiveResponseReasoning? = null, serviceTier: String? = null, text: LiveResponseText? = null, toolChoice: JsonElement? = null, tools: List<ResponseToolDefinition>? = null)

Properties

Link copied to clipboard
val instructions: String? = null

Backend instructions.

Link copied to clipboard
@SerialName(value = "max_output_tokens")
val maxOutputTokens: Int? = null

Maximum generated tokens for each delegation.

Link copied to clipboard

Backend Responses model, independent of the Live voice model.

Link copied to clipboard
@SerialName(value = "parallel_tool_calls")
val parallelToolCalls: Boolean? = null

Allows multiple tool calls in one response when supported.

Link copied to clipboard

Backend reasoning options.

Link copied to clipboard
@SerialName(value = "service_tier")
val serviceTier: String? = null

Backend service tier.

Link copied to clipboard
val text: LiveResponseText? = null

Backend verbosity.

Link copied to clipboard
@SerialName(value = "tool_choice")
val toolChoice: JsonElement? = null

Native Responses tool-choice string or object.

Link copied to clipboard

Native Responses tools; evolving nested tool shapes retain their JSON fields.