UNPKG

firewalla-mcp-server

Version:

Model Context Protocol (MCP) server for Firewalla MSP API - Provides real-time network monitoring, security analysis, and firewall management through 28 specialized tools compatible with any MCP client

20 lines 707 B
/** * Null safety utilities for parameter validation */ /** * Safely convert a value to a string, handling null/undefined */ export declare function safeString(value: any, defaultValue?: string): string; /** * Safely convert a value to a number, handling null/undefined */ export declare function safeNumber(value: any, defaultValue?: number): number; /** * Safely convert a value to a boolean, handling null/undefined */ export declare function safeBoolean(value: any, defaultValue?: boolean): boolean; /** * Validate and sanitize tool arguments, removing null/undefined values */ export declare function sanitizeToolArgs(args: any): Record<string, any>; //# sourceMappingURL=null-safety.d.ts.map