Format Conversion
Haengt neue Daten inkrementell an und erzeugt Cursor
Rufen Sie dieses Werkzeug aus Ihrem Code in drei Sprachen auf.
# 1) Request a presigned URL → returns { uploadUrl, storageKey }
curl -X POST 'https://api.elysiatools.com/api/upload/presign/xlsx-append-incremental' \
-H 'Content-Type: application/json' \
-d '{"filename":"baseWorkbookFile.ext","contentType":"application/octet-stream","size":12345}'
curl -X POST 'https://api.elysiatools.com/api/upload/presign/xlsx-append-incremental' \
-H 'Content-Type: application/json' \
-d '{"filename":"incrementalWorkbookFile.ext","contentType":"application/octet-stream","size":12345}'
# 2) PUT the file bytes directly to the presigned uploadUrl
curl -X PUT '<presigned uploadUrl>' \
--data-binary @/path/to/file.ext
# 3) Call the tool, passing the returned storageKey for each file field
curl -X POST 'https://api.elysiatools.com/de/api/tools/xlsx-append-incremental' \
-F 'baseWorkbookFile=/public/samples/xlsx/workbook-sales.xlsx' \
-F 'incrementalWorkbookFile=/public/samples/xlsx/workbook-sales.xlsx' \
-F 'targetSheetName=Tools API' \
-F 'headerRow=1' \
-F 'cursorMode=primary-key' \
-F 'cursorColumn=id' \
-F 'lastCursorValue=5'Senden Sie eine POST-Anfrage mit Ihren Eingaben als JSON. Dateiparameter erfordern einen vorherigen Upload.
POST https://api.elysiatools.com/de/api/tools/xlsx-append-incremental| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| baseWorkbookFile | fileUpload nötig | Ja | — |
| incrementalWorkbookFile | fileUpload nötig | Ja | — |
| targetSheetName | text | Nein | — |
| headerRow | number | Nein | — |
| cursorMode | select | Nein | — |
| cursorColumn | text | Ja | — |
| lastCursorValue | text | 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-xlsx-append-incremental": {
"name": "xlsx-append-incremental",
"description": "Haengt neue Daten inkrementell an und erzeugt Cursor",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=xlsx-append-incremental",
"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": "xlsx-append-incremental",
"arguments": {
"baseWorkbookFile": "/public/samples/xlsx/workbook-sales.xlsx",
"incrementalWorkbookFile": "/public/samples/xlsx/workbook-sales.xlsx",
"targetSheetName": "Tools API",
"headerRow": 1,
"cursorMode": "primary-key",
"cursorColumn": "id",
"lastCursorValue": "5"
}
}
}Fragen oder Probleme? Kontakt: [email protected]