strip_metadata
Removes private photo metadata like GPS location, camera details, and dates so images can be shared safely, then verifies the output is clean.
Instructions
Remove private metadata (GPS location, camera make/model/serial, dates, software, XMP, IPTC, comments, trailing embedded data) so a photo can be shared safely. Reports exactly what was found and removed, then re-reads the output to verify it is clean.
JPEGs are stripped losslessly (pixel data copied byte for byte). With
keep_orientation=true (default) a bare Orientation tag is kept so the photo still shows
upright; keep_orientation=false bakes the rotation into the pixels (re-encodes at
quality). Other formats are re-encoded without metadata (PNG is lossless, WebP lossy).
The ICC color profile is kept. Output: photo.stripped.jpg next to the input unless
output= is given; never replaces a file unless overwrite=true.
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": {
"path": "<path>"
},
"name": "strip_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| output | No | ||
| preview | No | ||
| quality | No | ||
| overwrite | No | ||
| allow_huge | No | ||
| keep_orientation | No |