strip_image_metadata
Remove identifying EXIF, GPS, XMP, IPTC, comments, thumbnails, and trailers from JPEG, PNG, or WebP images without re-encoding pixel data.
Instructions
Losslessly strip identifying metadata (EXIF, GPS, XMP, IPTC, comments, thumbnails, trailers) from a JPEG, PNG, or WebP file without re-encoding pixel data.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"inputPath": "<inputPath>",
"outputPath": "<outputPath>"
},
"name": "strip_image_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputPath | Yes | Path to the source JPEG, PNG, or WebP image. | |
| keepColour | No | Keep ICC colour profiles and colour chunks (default: true). | |
| outputPath | Yes | Path where the cleaned image will be written. | |
| keepCredentials | No | Keep C2PA Content Credentials / JUMBF segments (default: false). | |
| keepOrientation | No | Keep minimal EXIF orientation tag when rotated (default: true). |