get_image_metadata
Extract metadata from local JPG or PNG images by providing a file path. Returns structured JSON with image properties and EXIF details.
Instructions
Extract metadata from a local image using the PDF4me GetImageMetadata API. Provide the file path to a JPG or PNG image. Returns structured metadata JSON including image properties and available EXIF details.
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": "get_image_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Local path to the image file. | |
| image_type | No | Declared image type for the API payload ("JPG" or "PNG"). | PNG |