scrub_image_metadata_lossless
Strips EXIF, GPS, XMP, thumbnails, and hidden text metadata from PNG, JPEG, or WebP images without recompressing pixels, returning CRC-32 proof of pixel parity.
Instructions
Strips non-essential metadata chunks (EXIF, GPS, IFD1/JFIF thumbnails, ComfyUI tEXt/zTXt/iTXt, XMP, COM) and truncates trailing aCropalypse bytes without re-compressing pixels, returning CRC-32 pixel parity proof.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "scrub_image_metadata_lossless"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Local filesystem path to the input PNG, JPEG, or WebP image to scrub losslessly. | |
| base64Data | No | Optional Base64-encoded PNG, JPEG, or WebP payload when filePath is omitted. | |
| outputPath | No | Optional destination file path where the scrubbed zero-metadata image bytes should be written. | |
| keepIccProfile | No | When true, preserves embedded ICC color profile chunks (PNG iCCP / JPEG APP2 ICC_PROFILE) while stripping EXIF, GPS, XMP, and text metadata. | |
| returnCleanedBase64 | No | When true, returns the scrubbed binary image encoded as Base64 in the response payload. |