UNPKG

mcp-search-tools

Version:

MCP server and client for web search and page viewing tools - DuckDuckGo search and web scraping

14 lines 710 B
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js'; import { z } from 'zod'; export declare const webSearchSchema: z.ZodObject<{ query: z.ZodString; maxResults: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; region: z.ZodDefault<z.ZodOptional<z.ZodString>>; time: z.ZodOptional<z.ZodString>; maxRetries: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; retryDelay: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; }, z.core.$strip>; export type WebSearchInput = z.infer<typeof webSearchSchema>; export type WebSearchArgs = z.input<typeof webSearchSchema>; export declare function webSearchTool(input: WebSearchInput): Promise<CallToolResult>; //# sourceMappingURL=web-search.d.ts.map