Kategorien

Zufällige Verlosung

Zufälliges Verlosungssystem zur Auswahl von Gewinnern aus der Teilnehmerliste

Click to upload file or drag and drop file here

Maximum file size: 0MB Supported formats: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel, text/csv

Upload Excel file with columns: Name, ID, Department

Enter participants manually (optional if using file)

API-Dokumentation

Request-Endpunkt

POST /de/api/tools/random-lottery

Request-Parameter

Parameter-Name Typ Erforderlich Beschreibung
participantFile file (Upload erforderlich) Ja Upload Excel file with columns: Name, ID, Department
participantText textarea Nein Enter participants manually (optional if using file)
prizeCount number Ja -

Dateitypparameter müssen erst über POST /upload/random-lottery hochgeladen werden, um filePath zu erhalten, dann filePath an das entsprechende Dateifeld übergeben.

Antwortformat

{
  "result": "Initial display content",
  "interactive": true,
  "components": [
    {
      "type": "timer",
      "id": "timer1",
      "config": {
        "label": "Countdown",
        "duration": 60
      }
    }
  ],
  "state": {
    "key": "value"
  },
  "actions": [
    {
      "type": "start",
      "id": "start-btn",
      "label": "Start"
    }
  ],
  "styles": "/* Custom CSS */",
  "scripts": "/* Client-side scripts */",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}
Interaktives Komponenten: Interaktives Komponenten

MCP-Dokumentation

Fügen Sie dieses Tool zu Ihrer MCP-Server-Konfiguration hinzu:

{
  "mcpServers": {
    "elysiatools-random-lottery": {
      "name": "random-lottery",
      "description": "Zufälliges Verlosungssystem zur Auswahl von Gewinnern aus der Teilnehmerliste",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=random-lottery",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

Sie können mehrere Tools verketten, z.B.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, maximal 20 Tools.

Unterstützt URL-Dateilinks oder Base64-Codierung für Dateiparameter.

Wenn Sie auf Probleme stoßen, kontaktieren Sie uns bitte bei [email protected]