UNPKG

mcp-server-logzio

Version:

Model Context Protocol server for Logz.io log management platform

57 lines 1.53 kB
import { z } from 'zod'; import type { LogzioApiClient } from '../api/client.js'; /** * Log statistics tool parameter schema */ export declare const LogStatsParamsSchema: z.ZodObject<{ timeRange: z.ZodOptional<z.ZodString>; from: z.ZodOptional<z.ZodString>; to: z.ZodOptional<z.ZodString>; groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>; }, z.core.$strip>; export type LogStatsParams = z.infer<typeof LogStatsParamsSchema>; /** * Log statistics tool implementation */ export declare function getLogStats(client: LogzioApiClient, params: LogStatsParams): Promise<{ content: Array<{ type: 'text'; text: string; }>; }>; /** * MCP tool definition for log statistics */ export declare const logStatsTool: { name: string; description: string; inputSchema: { type: string; properties: { timeRange: { type: string; enum: string[]; description: string; }; from: { type: string; format: string; description: string; }; to: { type: string; format: string; description: string; }; groupBy: { type: string; items: { type: string; }; description: string; }; }; required: never[]; }; }; //# sourceMappingURL=stats.d.ts.map