Format Conversion
Konvertiert zwischen CSV- und Protocol Buffers (Protobuf)-Formaten
Rufen Sie dieses Werkzeug aus Ihrem Code in drei Sprachen auf.
curl -X POST 'https://api.elysiatools.com/de/api/tools/csv-to-protobuf' \
-H 'Content-Type: application/json' \
-d '{"operation":"csv-to-protobuf","inputData":"Enter CSV data or Protobuf data...","delimiter":",","hasHeader":true,"outputFormat":"hex","schema":"Enter .proto schema or JSON descriptor (optional)..."}'Senden Sie eine POST-Anfrage mit Ihren Eingaben als JSON. Dateiparameter erfordern einen vorherigen Upload.
POST https://api.elysiatools.com/de/api/tools/csv-to-protobuf| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| operation | select | Nein | — |
| inputData | textarea | Ja | — |
| delimiter | text | Nein | — |
| hasHeader | checkbox | Nein | — |
| outputFormat | select | Nein | — |
| schema |
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-csv-to-protobuf": {
"name": "csv-to-protobuf",
"description": "Konvertiert zwischen CSV- und Protocol Buffers (Protobuf)-Formaten",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=csv-to-protobuf",
"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": "csv-to-protobuf",
"arguments": {
"operation": "csv-to-protobuf",
"inputData": "Enter CSV data or Protobuf data...",
"delimiter": ",",
"hasHeader": true,
"outputFormat": "hex",
"schema": "Enter .proto schema or JSON descriptor (optional)..."
}
}
}Fragen oder Probleme? Kontakt: [email protected]
| textarea |
| Nein |
| — |
JSON-Ergebnis
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}