UNPKG

mcp-search-tools

Version:

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

15 lines 794 B
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js'; import { z } from 'zod'; export declare const webPageSchema: z.ZodObject<{ urls: z.ZodArray<z.ZodString>; includeImages: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; includeLinks: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; maxLength: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; maxRetries: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; retryDelay: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; concurrency: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; }, z.core.$strip>; export type WebPageInput = z.infer<typeof webPageSchema>; export type WebPageArgs = z.input<typeof webPageSchema>; export declare function webPageTool(input: WebPageInput): Promise<CallToolResult>; //# sourceMappingURL=web-page.d.ts.map