FunctionCallingConfig

data class FunctionCallingConfig(val allowedFunctionNames: List<String>? = null, val streamFunctionCallArguments: Boolean? = null)

Configuration for how the model uses the provided function declarations.

Constructors

Link copied to clipboard
constructor(allowedFunctionNames: List<String>? = null, streamFunctionCallArguments: Boolean? = null)

Properties

Link copied to clipboard

Function names the model is allowed to call.

Link copied to clipboard

When true, a single function call's arguments are streamed across chunks (partialArgs) rather than returned all at once. Vertex-only; not supported by the Gemini Developer API.