UNPKG

@iflow-mcp/sharkmcp

Version:

A Wireshark MCP server for network packet analysis

31 lines 987 B
import { z } from "zod"; import { CaptureSession } from "../types.js"; /** * Input schema for start capture session tool */ export declare const startCaptureSessionSchema: { interface: z.ZodDefault<z.ZodOptional<z.ZodString>>; captureFilter: z.ZodOptional<z.ZodString>; timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; maxPackets: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; sessionName: z.ZodOptional<z.ZodString>; configName: z.ZodOptional<z.ZodString>; }; /** * Tool handler for starting background packet capture session * This tool starts a detached tshark process to capture network packets */ export declare function startCaptureSessionHandler(args: any, activeSessions: Map<string, CaptureSession>): Promise<{ content: { type: "text"; text: string; }[]; isError: boolean; } | { content: { type: "text"; text: string; }[]; isError?: never; }>; //# sourceMappingURL=start-capture-session.d.ts.map