mirror of
https://github.com/samsonjs/Peekaboo.git
synced 2026-04-27 15:07:41 +00:00
Tweak tool text
This commit is contained in:
parent
4011a86900
commit
eeabb3eb20
2 changed files with 7 additions and 9 deletions
|
|
@ -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>;
|
||||||
|
|
|
||||||
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue