OptionalcodeOptional. CodeExecution tool type. Enables the model to execute code as part of generation.
OptionalcomputerOptional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations.
OptionalenterpriseOptional. Enterprise web search tool type. Specialized retrieval tool that is powered by Vertex AI Search and Sec4 compliance.
OptionalfunctionList of function declarations that the tool supports.
OptionalgoogleOptional. Google Maps tool type. Specialized retrieval tool that is powered by Google Maps.
OptionalgoogleOptional. Google Search tool type. Specialized retrieval tool that is powered by Google Search.
OptionalgoogleOptional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
OptionalretrievalOptional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
OptionalurlOptional. Tool to support URL context retrieval.
Tool details of a tool that the model may use to generate a response.