UNPKG

@iflow-mcp/sharkmcp

Version:

A Wireshark MCP server for network packet analysis

31 lines 986 B
import { z } from "zod"; import { CaptureSession } from "../types.js"; /** * Input schema for stop capture session tool */ export declare const stopCaptureSessionSchema: { sessionId: z.ZodString; displayFilter: z.ZodOptional<z.ZodString>; outputFormat: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "fields", "text"]>>>; customFields: z.ZodOptional<z.ZodString>; sslKeylogFile: z.ZodOptional<z.ZodString>; configName: z.ZodOptional<z.ZodString>; }; /** * Tool handler for stopping capture session and retrieving results * This tool stops a running capture session and analyzes the captured packets */ export declare function stopCaptureSessionHandler(args: any, activeSessions: Map<string, CaptureSession>): Promise<{ content: { type: "text"; text: string; }[]; isError: boolean; } | { content: { type: "text"; text: string; }[]; isError?: never; }>; //# sourceMappingURL=stop-capture-session.d.ts.map