Known
Enum representing the known values for ToolType.
Entries
Link copied to clipboard
Unspecified tool type.
Link copied to clipboard
Google search tool, maps to Tool.google_search.search_types.web_search.
Link copied to clipboard
Image search tool, maps to Tool.google_search.search_types.image_search.
Link copied to clipboard
URL context tool, maps to Tool.url_context.
Link copied to clipboard
Google maps tool, maps to Tool.google_maps.
Link copied to clipboard
File search tool, maps to Tool.file_search.
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.