Read or strip photo metadata
read_exifRead EXIF tags, including GPS, or strip them. action is read or strip. scope is all or gps. gps-only removal keeps the other JPEG tags. Other formats are re-encoded, which drops every tag. Send base64 or a public URL. Private addresses are refused and the decoded file is capped at 10 MB.
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": "read_exif"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The photo. Provide url or data. | |
| scope | No | Used when action is strip. gps removes the GPS block from a JPEG. all re-encodes and drops every tag. | all |
| action | No | read |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gps | Yes | ||
| data | Yes | Cleaned image as base64. Empty when action is read. | |
| mime | Yes | ||
| note | Yes | ||
| tags | Yes | ||
| when | Yes | ||
| bytes | Yes | ||
| width | Yes | ||
| camera | Yes | ||
| height | Yes | ||
| filename | Yes | ||
| stripped | Yes |