Remove photo metadata
remove_image_metadataRemoves EXIF, GPS, camera, date, XMP and comments from JPG photos and saves a copy without re-encoding, keeping rotation upright for safe sharing.
Instructions
Save a copy of a JPG photo without its EXIF data (GPS location, camera, date), XMP and comments, without re-encoding; the rotation is kept so it still shows upright. Use this before sharing a photo. Returns the saved path; the input is not changed.
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": {
"file": "<file>"
},
"name": "remove_image_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the file (absolute, or relative to the working directory). | |
| output | No | Where to save the result. Defaults to a new file next to the input. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | Anything the output does not carry over from the input. | |
| summary | Yes | One line describing the result. | |
| written | Yes | Paths of the files written, in order. |