ToolConfig

@Serializable
data class ToolConfig(val retrievalConfig: RetrievalConfig? = null, val functionCallingConfig: FunctionCallingConfig? = null, val includeServerSideToolInvocations: Boolean? = null)

Tool config. This config is shared for all tools provided in the request.

Constructors

Link copied to clipboard
constructor(retrievalConfig: RetrievalConfig? = null, functionCallingConfig: FunctionCallingConfig? = null, includeServerSideToolInvocations: Boolean? = null)

Properties

Link copied to clipboard

Optional. Function calling config.

Link copied to clipboard

Optional. If true, the API response will include the server-side tool calls and responses within the Content message. This allows clients to observe the server's tool interactions. This field is not supported in Vertex AI.

Link copied to clipboard

Optional. Retrieval config.