From 49312e366b17a55002badf5c30b24aef2f3e5c37 Mon Sep 17 00:00:00 2001 From: Annie Luc Date: Mon, 20 Jul 2026 14:21:21 -0700 Subject: [PATCH] No public description PiperOrigin-RevId: 951050706 --- src/gaos/models/interactions/index.ts | 1 + src/gaos/models/interactions/tool-search.ts | 18 ++++++++++++++++++ src/gaos/models/interactions/tool.ts | 4 +++- src/gaos/resources.ts | 4 ++++ 4 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 src/gaos/models/interactions/tool-search.ts diff --git a/src/gaos/models/interactions/index.ts b/src/gaos/models/interactions/index.ts index 48b8706831..b31ab4f8d6 100644 --- a/src/gaos/models/interactions/index.ts +++ b/src/gaos/models/interactions/index.ts @@ -134,6 +134,7 @@ export * from "./thought-summary-content.js"; export * from "./thought-summary-delta.js"; export * from "./tool-choice-config.js"; export * from "./tool-choice-type.js"; +export * from "./tool-search.js"; export * from "./tool.js"; export * from "./transcription-config.js"; export * from "./turn.js"; diff --git a/src/gaos/models/interactions/tool-search.ts b/src/gaos/models/interactions/tool-search.ts new file mode 100644 index 0000000000..ca227543da --- /dev/null +++ b/src/gaos/models/interactions/tool-search.ts @@ -0,0 +1,18 @@ +/** + * @license + * Copyright 2026 Google LLC + * SPDX-License-Identifier: Apache-2.0 + * + * g3-prettier-ignore-file + */ + +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +/** + * Tool search configuration. + */ +export type ToolSearch = { + type: "tool_search"; +}; diff --git a/src/gaos/models/interactions/tool.ts b/src/gaos/models/interactions/tool.ts index a0dd7450bd..a6d6f8a4f6 100644 --- a/src/gaos/models/interactions/tool.ts +++ b/src/gaos/models/interactions/tool.ts @@ -18,6 +18,7 @@ import { GoogleMaps } from "./google-maps.js"; import { GoogleSearch } from "./google-search.js"; import { MCPServer } from "./mcp-server.js"; import { Retrieval } from "./retrieval.js"; +import { ToolSearch } from "./tool-search.js"; import { URLContext } from "./url-context.js"; /** @@ -32,4 +33,5 @@ export type Tool = | GoogleSearch | FileSearch | GoogleMaps - | Retrieval; + | Retrieval + | ToolSearch; diff --git a/src/gaos/resources.ts b/src/gaos/resources.ts index 51b2c8d7e9..5a78bcbb37 100644 --- a/src/gaos/resources.ts +++ b/src/gaos/resources.ts @@ -115,6 +115,7 @@ import type { ThoughtStep as ThoughtStep$Import } from "./models/interactions/th import type { ThoughtSummaryDelta as ThoughtSummaryDelta$Import } from "./models/interactions/thought-summary-delta.js"; import type { ToolChoiceConfig as ToolChoiceConfig$Import } from "./models/interactions/tool-choice-config.js"; import type { ToolChoiceType as ToolChoiceType$Import } from "./models/interactions/tool-choice-type.js"; +import type { ToolSearch as ToolSearch$Import } from "./models/interactions/tool-search.js"; import type { Tool as Tool$Import } from "./models/interactions/tool.js"; import type { TranscriptionConfig as TranscriptionConfig$Import } from "./models/interactions/transcription-config.js"; import type { URLCitation as URLCitation$Import } from "./models/interactions/url-citation.js"; @@ -326,6 +327,7 @@ type GoogleMaps$ = GoogleMaps$Import; type GoogleSearch$ = GoogleSearch$Import; type MCPServer$ = MCPServer$Import; type Retrieval$ = Retrieval$Import; +type ToolSearch$ = ToolSearch$Import; type URLContext$ = URLContext$Import; type VertexAISearchConfig$ = VertexAISearchConfig$Import; type Arguments$5 = URLContextCallArguments$Import; @@ -497,6 +499,7 @@ export type ThoughtSummary = ThoughtSummary$; export type Tool = Tool$; export type ToolChoiceConfig = ToolChoiceConfig$; export type ToolChoiceType = ToolChoiceType$; +export type ToolSearch = ToolSearch$; export type ToolUseTokensByModality = ToolUseTokensByModality$; export type TranscriptionConfig = TranscriptionConfig$; export type Trigger = Trigger$; @@ -754,6 +757,7 @@ export declare namespace Interactions { export type GoogleSearch = GoogleSearch$; export type MCPServer = MCPServer$; export interface Retrieval extends Retrieval$ {} + export type ToolSearch = ToolSearch$; export type URLContext = URLContext$; export namespace Retrieval { export type VertexAISearchConfig = VertexAISearchConfig$;