Data Processing
Extract all keys from JSON objects with multiple output formats. Perfect for analyzing JSON structure, documentation generation, and understanding complex nested objects.
Rufen Sie dieses Werkzeug aus Ihrem Code in drei Sprachen auf.
curl -X POST 'https://api.elysiatools.com/de/api/tools/json-key-extractor' \
-H 'Content-Type: application/json' \
-d '{"jsonInput":"Enter your JSON data...","outputFormat":"list","flattenKeys":true,"includeTypes":true,"includePath":false,"sortBy":"alphabetical","removeDuplicates":false,"maxDepth":10}'Senden Sie eine POST-Anfrage mit Ihren Eingaben als JSON. Dateiparameter erfordern einen vorherigen Upload.
POST https://api.elysiatools.com/de/api/tools/json-key-extractor| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| jsonInput | textarea | Ja | — |
| outputFormat | select | Ja | — |
| flattenKeys | checkbox | Nein | Convert nested keys to dot notation (e.g., "user.profile.name") |
| includeTypes | checkbox | Nein | Include the data type of each key (string, number, boolean, object, array, null) |
| includePath | checkbox | Nein |
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-json-key-extractor": {
"name": "json-key-extractor",
"description": "Extract all keys from JSON objects with multiple output formats. Perfect for analyzing JSON structure, documentation generation, and understanding complex nested objects.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=json-key-extractor",
"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": "json-key-extractor",
"arguments": {
"jsonInput": "Enter your JSON data...",
"outputFormat": "list",
"flattenKeys": true,
"includeTypes": true,
"includePath": false,
"sortBy": "alphabetical",
"removeDuplicates": false,
"maxDepth": 10
}
}
}| Include the full path to each key in nested objects |
| sortBy | select | Ja | — |
| removeDuplicates | checkbox | Nein | Remove duplicate keys when they appear in multiple locations |
| maxDepth | number | Nein | — |
Textergebnis
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Fragen oder Probleme? Kontakt: [email protected]