UNPKG

@mastra/core

Version:
13 lines 855 B
import type { ProviderDefinedTool } from '../../_types/@internal_external-types/dist/index.d.ts'; declare const WEB_SEARCH_TOOL_MARKER: unique symbol; export type WebSearchProvider = 'openai' | 'anthropic' | 'google' | 'xai'; export type WebSearchProviderToolId = 'openai.web_search' | 'anthropic.web_search_20250305' | 'google.google_search' | 'xai.web_search'; export type WebSearchToolPlaceholder = { readonly [WEB_SEARCH_TOOL_MARKER]: true; }; export declare const webSearchTool: WebSearchToolPlaceholder; export declare function isWebSearchTool(tool: unknown): tool is WebSearchToolPlaceholder; export declare function normalizeWebSearchProvider(providerOrModel: unknown): WebSearchProvider; export declare function createWebSearchProviderTool(provider: WebSearchProvider): ProviderDefinedTool; export {}; //# sourceMappingURL=web-search.d.ts.map