import { Server } from '@modelcontextprotocol/sdk/server/index.js'; import { ClientFactory } from '../server.js'; export declare function getRuntimeLogsTool(_server: Server, clientFactory: ClientFactory): { name: string; description: string; inputSchema: { type: "object"; properties: { projectId: { type: string; description: "The project ID (e.g., \"prj_abc123\"). Use list_projects to find project IDs."; }; deploymentId: { type: string; description: string; }; since: { type: string; description: string; }; until: { type: string; description: string; }; limit: { type: string; description: "Maximum number of log entries to return (e.g., 100). Defaults to server-side limit if not specified."; }; direction: { type: string; enum: string[]; description: "Log retrieval direction: \"forward\" (oldest first) or \"backward\" (newest first, default)."; }; search: { type: string; description: "Search query string to filter log messages (e.g., \"error\", \"timeout\", \"/api/users\")."; }; source: { type: string; enum: string[]; description: "Filter by log source: \"serverless\", \"edge-function\", \"edge-middleware\", or \"static\"."; }; level: { type: string; enum: string[]; description: "Filter by log level: \"info\", \"warning\", \"error\", or \"fatal\"."; }; statusCode: { type: string; description: "Filter by HTTP response status code (e.g., 500 to see server errors, 404 for not found)."; }; environment: { type: string; enum: string[]; description: "Filter by deployment environment: \"production\" or \"preview\"."; }; }; required: string[]; }; handler: (args: unknown) => Promise<{ content: { type: string; text: string; }[]; isError?: undefined; } | { content: { type: string; text: string; }[]; isError: boolean; }>; }; //# sourceMappingURL=get-runtime-logs.d.ts.map