VertexAiSearchTool
A built-in tool using Vertex AI Search.
This tool can be configured with either a dataStoreId (the Vertex AI search data store resource ID) or a searchEngineId (the Vertex AI search engine resource ID).
Properties
The custom metadata of the tool.
The Vertex AI search data store resource ID in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}.
Specifications that define the specific DataStores to be searched. It should only be set if engine is used.
The description of the tool.
Whether the tool's final result will be delivered out-of-band. When true, the framework marks the call as long-running and uses the tool's return value as the function-response payload (or suppresses the response entirely if the tool returns Unit).
The maximum number of results to return.
The model name to use, overriding the one in LlmRequest.
The Vertex AI search engine resource ID in the format of projects/{project}/locations/{location}/collections/{collection}/engines/{engine}.
Functions
Returns the underlying function declaration.
Processes the LLM request before it is sent.