@iflow-mcp/sharkmcp
Version:
A Wireshark MCP server for network packet analysis
55 lines • 1.94 kB
TypeScript
import { z } from "zod";
/**
* Input schema for config management tool
*/
export declare const manageConfigSchema: {
action: z.ZodEnum<["save", "load", "list", "view", "delete"]>;
name: z.ZodOptional<z.ZodString>;
detailed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
config: z.ZodOptional<z.ZodObject<{
description: z.ZodOptional<z.ZodString>;
captureFilter: z.ZodOptional<z.ZodString>;
displayFilter: z.ZodOptional<z.ZodString>;
outputFormat: z.ZodOptional<z.ZodEnum<["json", "fields", "text"]>>;
customFields: z.ZodOptional<z.ZodString>;
timeout: z.ZodOptional<z.ZodNumber>;
maxPackets: z.ZodOptional<z.ZodNumber>;
interface: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
timeout?: number | undefined;
interface?: string | undefined;
captureFilter?: string | undefined;
maxPackets?: number | undefined;
displayFilter?: string | undefined;
outputFormat?: "json" | "fields" | "text" | undefined;
customFields?: string | undefined;
description?: string | undefined;
}, {
timeout?: number | undefined;
interface?: string | undefined;
captureFilter?: string | undefined;
maxPackets?: number | undefined;
displayFilter?: string | undefined;
outputFormat?: "json" | "fields" | "text" | undefined;
customFields?: string | undefined;
description?: string | undefined;
}>>;
};
/**
* Tool handler for managing filter configurations
* Allows LLMs to save, load, list, and delete reusable filter configurations
*/
export declare function manageConfigHandler(args: any): Promise<{
content: {
type: "text";
text: string;
}[];
isError: boolean;
} | {
content: {
type: "text";
text: string;
}[];
isError?: never;
}>;
//# sourceMappingURL=manage-config.d.ts.map