Elysia Tools Docs
DE
Sprache
ZHESPTRUFRDEEN
Zurück zur Website
Werkzeuge durchsuchen

Development

Interaktiver JSONPath-REPL

Eine interaktive JSONPath-REPL, die mehrstufe Abfrage-Pipelines auf jedem JSON ausführt. Schreiben Sie einen JSONPath-Ausdruck pro Zeile (z. B. $..book[?(@.price<10)] dann $[0:5]) und sehen Sie die Treffer jedes Schritts mit Anzahlen, Pfaden und Werten — plus eine teilbare URL, die Ihre Daten und Pipeline kodiert. Unterstützt rekursiven Abstieg ($..), Wildcards ([*]), Filter ([?(@.price<10)]), Slices ([0:5:2]) und negative Indizes.

html· HTML-ErgebnisWerkzeug öffnen

Schnellstart

Rufen Sie dieses Werkzeug aus Ihrem Code in drei Sprachen auf.

cURL
curl -X POST 'https://api.elysiatools.com/de/api/tools/jsonpath-repl-playground' \
  -H 'Content-Type: application/json' \
  -d '{"json":"{\n  \"store\": {\n    \"book\": [\n      { \"category\": \"reference\", \"author\": \"Nigel Rees\", \"title\": \"Sayings of the Century\", \"price\": 8.95 },\n      { \"category\": \"fiction\", \"author\": \"Evelyn Waugh\", \"title\": \"Sword of Honour\", \"price\": 12.99 },\n      { \"category\": \"fiction\", \"author\": \"Herman Melville\", \"title\": \"Moby Dick\", \"price\": 8.99 },\n      { \"category\": \"fiction\", \"author\": \"J. R. R. Tolkien\", \"title\": \"The Lord of the Rings\", \"price\": 22.99 }\n    ],\n    \"bicycle\": { \"color\": \"red\", \"price\": 19.95 }\n  }\n}","pipeline":"$..book[?(@.price < 10)]\n$[*].title","mode":"values","maxResults":100,"historyTitle":"Cheap books — titles"}'

© 2026 Elysia Tools. Entwicklerdokumentation.

Zurück zur WebsiteWerkzeuge durchsuchen

API-Referenz

Senden Sie eine POST-Anfrage mit Ihren Eingaben als JSON. Dateiparameter erfordern einen vorherigen Upload.

Endpunkt

HTTP
POST https://api.elysiatools.com/de/api/tools/jsonpath-repl-playground

Parameter

NameTypErforderlichBeschreibung
jsontextareaJa—
pipelinetextareaJa—
modeselectNein—
maxResultsnumberNein—
historyTitletextNeinOptional label saved with this query so you can find it again.

Antwortformat

HTML-Ergebnis

JSON
{
  "result": "<div>Processed HTML content</div>",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}

MCP-Integration

Fügen Sie dieses Werkzeug Ihrem Model-Context-Protocol-Server hinzu, damit KI-Agenten es auflisten und aufrufen können.

Serverkonfiguration

Fügen Sie diesen Block Ihrer MCP-Client-Konfiguration hinzu:

mcp.json
{
  "mcpServers": {
    "elysiatools-jsonpath-repl-playground": {
      "name": "jsonpath-repl-playground",
      "description": "Eine interaktive JSONPath-REPL, die mehrstufe Abfrage-Pipelines auf jedem JSON ausführt. Schreiben Sie einen JSONPath-Ausdruck pro Zeile (z. B. $..book[?(@.price<10)] dann $[0:5]) und sehen Sie die Treffer jedes Schritts mit Anzahlen, Pfaden und Werten — plus eine teilbare URL, die Ihre Daten und Pipeline kodiert. Unterstützt rekursiven Abstieg ($..), Wildcards ([*]), Filter ([?(@.price<10)]), Slices ([0:5:2]) und negative Indizes.",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=jsonpath-repl-playground",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

Verfügbare Werkzeuge auflisten

Nach dem Verbinden mit dem SSE-Endpunkt listen Sie die bereitgestellten Werkzeuge auf:

tools/list
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Dieses Werkzeug aufrufen

Rufen Sie das Werkzeug über seine ID auf; Argumente werden aus seiner Parameterliste gebildet:

tools/call
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "jsonpath-repl-playground",
    "arguments": {
  "json": "{\n  \"store\": {\n    \"book\": [\n      { \"category\": \"reference\", \"author\": \"Nigel Rees\", \"title\": \"Sayings of the Century\", \"price\": 8.95 },\n      { \"category\": \"fiction\", \"author\": \"Evelyn Waugh\", \"title\": \"Sword of Honour\", \"price\": 12.99 },\n      { \"category\": \"fiction\", \"author\": \"Herman Melville\", \"title\": \"Moby Dick\", \"price\": 8.99 },\n      { \"category\": \"fiction\", \"author\": \"J. R. R. Tolkien\", \"title\": \"The Lord of the Rings\", \"price\": 22.99 }\n    ],\n    \"bicycle\": { \"color\": \"red\", \"price\": 19.95 }\n  }\n}",
  "pipeline": "$..book[?(@.price < 10)]\n$[*].title",
  "mode": "values",
  "maxResults": 100,
  "historyTitle": "Cheap books — titles"
}
  }
}
Verketten Sie mehrere Werkzeuge in einer Sitzung mit einer kommagetrennten toolId-Liste, z. B. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max. 20).

Fragen oder Probleme? Kontakt: [email protected]

Werkzeuge durchsuchen
Werkzeug öffnen