Tweak tool text

This commit is contained in:
Peter Steinberger 2025-05-25 22:15:13 +02:00
parent 4011a86900
commit eeabb3eb20
2 changed files with 7 additions and 9 deletions

View file

@ -145,14 +145,12 @@ export const imageToolSchema = z.object({
), ),
}) })
.describe( .describe(
"Captures macOS screen content and optionally analyzes it.\n" + "Captures screen content and optionally analyzes it. " +
"This tool allows for flexible screen capture, targeting entire screens, specific application windows, or all windows of an application. " + "Targets entire screens, specific app windows, or all windows of an app (via `app_target`). " +
"It supports foreground/background capture modes and can output images to a file path or as inline Base64 data.\n\n" + "Supports foreground/background capture. " +
"Key Capabilities:\n" + "Output to file path or inline Base64 data (`format: \"data\"`). " +
"- Versatile Targeting: Use `app_target` to specify what to capture (see `app_target` parameter description for examples).\n" + "If a `question` is provided, an AI model analyzes the image. " +
"- Analysis Integration: Provide a `question` to have the captured image analyzed by an AI model (selected from the `PEEKABOO_AI_PROVIDERS` environment variable).\n" + "Window shadows/frames excluded."
"- Output Options: Save as 'png' or 'jpg', or get 'data' (Base64 PNG). The format defaults to 'data' if `path` is omitted.\n" +
"- Window Handling: Window shadows and frames are excluded from captures."
); );
export type ImageInput = z.infer<typeof imageToolSchema>; export type ImageInput = z.infer<typeof imageToolSchema>;

View file

@ -10,5 +10,5 @@ export function generateServerStatusString(version: string): string {
providersText = providers.join(", "); providersText = providers.join(", ");
} }
return `\n- Peekaboo MCP ${version} using ${providersText}`.trim(); return `\n\nPeekaboo MCP ${version} using ${providersText}`.trim();
} }