Document Tools
Erstellt Kontaktbogen mit Vorschaubildern, Dateinamen und EXIF
Rufen Sie dieses Werkzeug aus Ihrem Code in drei Sprachen auf.
# 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/de/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'Senden Sie eine POST-Anfrage mit Ihren Eingaben als JSON. Dateiparameter erfordern einen vorherigen Upload.
POST https://api.elysiatools.com/de/api/tools/pdf-photo-contact-sheet| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| title | text | Ja | — |
| subtitle | text | Nein | — |
| imageFiles | fileUpload nötig | Ja | — |
| columns | number | Nein | — |
| rows | number | Nein | — |
| fitMode | select | Nein | — |
| showFileName | checkbox | Nein | — |
| includeExif | checkbox | Nein | — |
| pageSize | select | Nein | — |
| landscape | checkbox | Nein | — |
| waitUntil | select | Nein | — |
| waitTime | number | Nein | — |
Dateiergebnis
{
"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)"
}Fügen Sie dieses Werkzeug Ihrem Model-Context-Protocol-Server hinzu, damit KI-Agenten es auflisten und aufrufen können.
Fügen Sie diesen Block Ihrer MCP-Client-Konfiguration hinzu:
{
"mcpServers": {
"elysiatools-pdf-photo-contact-sheet": {
"name": "pdf-photo-contact-sheet",
"description": "Erstellt Kontaktbogen mit Vorschaubildern, Dateinamen und EXIF",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=pdf-photo-contact-sheet",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Nach dem Verbinden mit dem SSE-Endpunkt listen Sie die bereitgestellten Werkzeuge auf:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Rufen Sie das Werkzeug über seine ID auf; Argumente werden aus seiner Parameterliste gebildet:
{
"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
}
}
}Fragen oder Probleme? Kontakt: [email protected]