Interface ToolConfig

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

Properties

functionCallingConfig?: FunctionCallingConfig

Optional. Function calling config.

includeServerSideToolInvocations?: boolean

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.

retrievalConfig?: RetrievalConfig

Optional. Retrieval config.