@steipete/peekaboo-mcp
Version:
A macOS utility exposed via Node.js MCP server for advanced screen captures, image analysis, and window management
43 lines • 2.13 kB
TypeScript
import { z } from "zod";
import { ToolContext, ToolResponse } from "../types/index.js";
export declare const listToolSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
item_type: z.ZodEffects<z.ZodOptional<z.ZodEnum<["running_applications", "application_windows", "server_status"]>>, "running_applications" | "application_windows" | "server_status" | undefined, unknown>;
app: z.ZodOptional<z.ZodString>;
include_window_details: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodEnum<["off_screen", "bounds", "ids"]>, "many">>, ("off_screen" | "bounds" | "ids")[] | undefined, unknown>;
}, "strip", z.ZodTypeAny, {
item_type?: "running_applications" | "application_windows" | "server_status" | undefined;
app?: string | undefined;
include_window_details?: ("off_screen" | "bounds" | "ids")[] | undefined;
}, {
item_type?: unknown;
app?: string | undefined;
include_window_details?: unknown;
}>, {
item_type?: "running_applications" | "application_windows" | "server_status" | undefined;
app?: string | undefined;
include_window_details?: ("off_screen" | "bounds" | "ids")[] | undefined;
}, {
item_type?: unknown;
app?: string | undefined;
include_window_details?: unknown;
}>, {
item_type?: "running_applications" | "application_windows" | "server_status" | undefined;
app?: string | undefined;
include_window_details?: ("off_screen" | "bounds" | "ids")[] | undefined;
}, {
item_type?: unknown;
app?: string | undefined;
include_window_details?: unknown;
}>, {
item_type?: "running_applications" | "application_windows" | "server_status" | undefined;
app?: string | undefined;
include_window_details?: ("off_screen" | "bounds" | "ids")[] | undefined;
}, {
item_type?: unknown;
app?: string | undefined;
include_window_details?: unknown;
}>;
export type ListToolInput = z.infer<typeof listToolSchema>;
export declare function listToolHandler(input: ListToolInput, context: ToolContext): Promise<ToolResponse>;
export declare function buildSwiftCliArgs(input: ListToolInput): string[];
//# sourceMappingURL=list.d.ts.map