strip_metadata
Remove EXIF metadata from JPEG files losslessly, including GPS and serial numbers. Optionally strip all metadata while preserving orientation and copyright.
Instructions
Strip selected EXIF metadata from an exported JPEG file.
Operates losslessly — only the EXIF APP1 segment is rewritten, the JPEG image data is not recompressed. By default removes GPS and serial numbers. Use strip_all=True to remove everything except orientation (and copyright if keep_copyright=True). Params: file_path, strip_gps, strip_camera_serial, strip_lens_serial, strip_software, strip_owner, strip_all, keep_copyright, keep_orientation, output_path (None = in-place)
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_path": "<file_path>"
},
"name": "strip_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| strip_gps | No | ||
| strip_camera_serial | No | ||
| strip_lens_serial | No | ||
| strip_software | No | ||
| strip_owner | No | ||
| strip_all | No | ||
| keep_copyright | No | ||
| keep_orientation | No | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||