ClipGrab
v0.1.0Save the system clipboard image to a PNG or JPG file for AI agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
save_clipboard_image
Save the image currently on the system clipboard to a file. Args: directory: Folder to write into. Defaults to the current working directory (the folder the user is in). Created if missing. filename: Output file name. If omitted, a timestamped name is used. Any extension is overridden to match ``image_format``. image_format: ``"png"`` (default) or ``"jpg"``. Returns: The absolute path of the written image file. Raises: RuntimeError: if the clipboard does not contain an image.
| Parameter | Type | Description |
|---|---|---|
directory | ||
filename | ||
image_format | string |
clipboard_has_image
Return True if the system clipboard currently holds an image.