Document Tools
Generate paginated photo contact sheets with thumbnails, filenames, and EXIF lines
Call this tool from your code in three languages.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/pdf-photo-contact-sheet' \
-F 'file=@/path/to/imageFiles.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/pdf-photo-contact-sheet' \
-F 'title=Contact Sheet - Sample JPG Set' \
-F 'subtitle=Generated by consolidated script' \
-F 'imageFiles=/public/samples/jpg/earth1_1-1_2048-2048.jpg,/public/samples/jpg/earth2_16-9_2560-1440.jpg,/public/samples/jpg/earth4_1-1_2048-2048.jpg,/public/samples/jpg/earth1_16-9_2560-1440.jpg,/public/samples/jpg/earth1_3-4_1728-2304.jpg,/public/samples/jpg/earth4_3-4_1728-2304.jpg,/public/samples/jpg/earth3_1-1_2048-2048.jpg,/public/samples/jpg/earth2_3-4_1728-2304.jpg,/public/samples/jpg/earth4_16-9_2560-1440.jpg,/public/samples/jpg/earth2_1-1_2048-2048.jpg' \
-F 'columns=4' \
-F 'rows=3' \
-F 'fitMode=cover' \
-F 'showFileName=true' \
-F 'includeExif=true' \
-F 'pageSize=A4' \
-F 'landscape=true' \
-F 'waitUntil=networkidle0' \
-F 'waitTime=800'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/pdf-photo-contact-sheet| Name | Type | Required | Description |
|---|---|---|---|
| title | text | Yes | — |
| subtitle | text | No | — |
| imageFiles | fileupload required | Yes | — |
| columns | number | No | — |
| rows | number | No | — |
| fitMode | select | No | — |
| showFileName | checkbox | No | — |
| includeExif | checkbox | No | — |
| pageSize | select | No | — |
| landscape | checkbox | No | — |
| waitUntil | select | No | — |
| waitTime | number | No | — |
File result
{
"filePath": "/public/processing/randomid.ext",
"fileName": "output.ext",
"contentType": "application/octet-stream",
"size": 1024,
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-pdf-photo-contact-sheet": {
"name": "pdf-photo-contact-sheet",
"description": "Generate paginated photo contact sheets with thumbnails, filenames, and EXIF lines",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=pdf-photo-contact-sheet",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "pdf-photo-contact-sheet",
"arguments": {
"title": "Contact Sheet - Sample JPG Set",
"subtitle": "Generated by consolidated script",
"imageFiles": [
"/public/samples/jpg/earth1_1-1_2048-2048.jpg",
"/public/samples/jpg/earth2_16-9_2560-1440.jpg",
"/public/samples/jpg/earth4_1-1_2048-2048.jpg",
"/public/samples/jpg/earth1_16-9_2560-1440.jpg",
"/public/samples/jpg/earth1_3-4_1728-2304.jpg",
"/public/samples/jpg/earth4_3-4_1728-2304.jpg",
"/public/samples/jpg/earth3_1-1_2048-2048.jpg",
"/public/samples/jpg/earth2_3-4_1728-2304.jpg",
"/public/samples/jpg/earth4_16-9_2560-1440.jpg",
"/public/samples/jpg/earth2_1-1_2048-2048.jpg"
],
"columns": 4,
"rows": 3,
"fitMode": "cover",
"showFileName": true,
"includeExif": true,
"pageSize": "A4",
"landscape": true,
"waitUntil": "networkidle0",
"waitTime": 800
}
}
}Questions or issues? Contact [email protected]