Actions
Jump to:
read_imageread_folder
Read one image
read_image
Read EXIF, GPS and embedded text metadata from a single image and return it as JSON.
Inputs
| Name | Type | Required / default | Values and notes |
image |
path |
required
|
|
Outputs
| Name | Type | Notes |
metadata |
json |
|
Scan a folder
read_folder
Read metadata from every image in a folder, optionally including subfolders, and optionally write the results to a CSV file.
Inputs
| Name | Type | Required / default | Values and notes |
folder |
path |
required
|
|
recursive |
bool |
optional, default false
|
|
write_csv |
bool |
optional, default false
|
|
csv |
path |
optional, default ""
|
|
Outputs
| Name | Type | Notes |
count |
int |
|
results |
json |
|
csv |
path |
|
Use it
Read one image
Command line
shell
python app.py --action read_image --params '{"image": "D:/path/to/image"}'
Run from the app’s own folder. Single quotes work in bash and PowerShell; in cmd.exe use double quotes and escape the inner ones.
MCP tool
mcp
run_action("metadata-extractor", "read_image", {"image": "D:/path/to/image"})
Workflow node
json
{
"id": "n0",
"app": "metadata-extractor",
"action": "read_image",
"params": {
"image": "D:/path/to/image"
},
"inputs": {}
}
Scan a folder
Command line
shell
python app.py --action read_folder --params '{"folder": "D:/path/to/folder"}'
Run from the app’s own folder. Single quotes work in bash and PowerShell; in cmd.exe use double quotes and escape the inner ones.
MCP tool
mcp
run_action("metadata-extractor", "read_folder", {"folder": "D:/path/to/folder"})
Workflow node
json
{
"id": "n0",
"app": "metadata-extractor",
"action": "read_folder",
"params": {
"folder": "D:/path/to/folder"
},
"inputs": {}
}
Example prompts
Things you can say to Claude, Cursor or Codex once the MCP server is registered.
- read the EXIF metadata from D:/photos/img_001.jpg
- scan D:/renders for embedded generation parameters and write a CSV