UNPKG

trigger.dev

Version:

A Command-Line Interface for Trigger.dev projects

123 lines (122 loc) 4.26 kB
/** * `get_report` fetches a server-rendered report (verdict + text + sparklines). Plain * markdown by default, or ANSI when `color` is set (for hosts that display escapes in * tool output). Read-only; the handler enforces devOnly. */ export declare const getReportTool: { name: string; title: string; description: string; inputSchema: { projectRef: import("zod").ZodOptional<import("zod").ZodString>; configPath: import("zod").ZodOptional<import("zod").ZodString>; environment: import("zod").ZodDefault<import("zod").ZodEnum<{ dev: "dev"; preview: "preview"; prod: "prod"; staging: "staging"; }>>; branch: import("zod").ZodOptional<import("zod").ZodString>; key: import("zod").ZodEnum<{ health: "health"; }>; period: import("zod").ZodOptional<import("zod").ZodString>; color: import("zod").ZodOptional<import("zod").ZodBoolean>; }; handler: (input: unknown, extra: import("../types.js").ToolMeta) => Promise<{ [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; "io.modelcontextprotocol/related-task"?: { taskId: string; } | undefined; } | undefined; content: ({ type: "text"; text: string; annotations?: { audience?: ("assistant" | "user")[] | undefined; priority?: number | undefined; lastModified?: string | undefined; } | undefined; _meta?: { [x: string]: unknown; } | undefined; } | { type: "image"; data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | undefined; priority?: number | undefined; lastModified?: string | undefined; } | undefined; _meta?: { [x: string]: unknown; } | undefined; } | { type: "audio"; data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | undefined; priority?: number | undefined; lastModified?: string | undefined; } | undefined; _meta?: { [x: string]: unknown; } | undefined; } | { uri: string; description?: string | undefined; mimeType?: string | undefined; annotations?: { audience?: ("assistant" | "user")[] | undefined; priority?: number | undefined; lastModified?: string | undefined; } | undefined; _meta?: { [x: string]: unknown; } | undefined; icons?: { src: string; mimeType?: string | undefined; sizes?: string[] | undefined; theme?: "dark" | "light" | undefined; }[] | undefined; name: string; title?: string | undefined; type: "resource_link"; } | { type: "resource"; resource: { uri: string; mimeType?: string | undefined; _meta?: { [x: string]: unknown; } | undefined; text: string; } | { uri: string; mimeType?: string | undefined; _meta?: { [x: string]: unknown; } | undefined; blob: string; }; annotations?: { audience?: ("assistant" | "user")[] | undefined; priority?: number | undefined; lastModified?: string | undefined; } | undefined; _meta?: { [x: string]: unknown; } | undefined; })[]; structuredContent?: { [x: string]: unknown; } | undefined; isError?: boolean | undefined; }>; };