/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { ToolInvocation, ToolResult } from '../base/tools.js'; import { BaseDeclarativeTool } from '../base/tools.js'; import type { SimpleConfig } from '../base/config.js'; /** * Parameters for the WebSearchTool */ export interface WebSearchToolParams { /** * The search query */ query: string; } /** * Implementation of the WebSearch tool logic */ export declare class WebSearchTool extends BaseDeclarativeTool { private readonly config; static readonly Name: string; constructor(config: SimpleConfig); protected validateToolParamValues(params: WebSearchToolParams): string | null; protected createInvocation(params: WebSearchToolParams): ToolInvocation; } //# sourceMappingURL=web-search.d.ts.map