Developer Tools
Показывает JSON или JSONL в виде раскрывающегося дерева и позволяет копировать JSONPath для каждого узла
Вызовите этот инструмент из своего кода на трёх языках.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/json-path-visualizer' \
-F 'file=@/path/to/jsonFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/ru/api/tools/json-path-visualizer' \
-F 'jsonInput={
"store": {
"book": [
{ "title": "Clean Code", "price": 32, "authors": ["Robert C. Martin"] },
{ "title": "The Pragmatic Programmer", "price": 28, "authors": ["Andrew Hunt", "David Thomas"] }
],
"bicycle": { "color": "red", "price": 99.95 }
}
}' \
-F 'jsonFile=' \
-F 'inputFormat=auto' \
-F 'searchTerm=price' \
-F 'expandDepth=3' \
-F 'includeValuesPreview=true' \
-F 'exportAllPathsAsCsv=true'Отправьте POST-запрос с входными данными в JSON. Параметры типа «файл» требуют предварительной загрузки.
POST https://api.elysiatools.com/ru/api/tools/json-path-visualizer| Имя | Тип | Обязательный | Описание |
|---|---|---|---|
| jsonInput | textarea | Нет | — |
| jsonFile | fileнужна загрузка | Нет | — |
| inputFormat | select | Нет | — |
| searchTerm | text | Нет | — |
| expandDepth | number | Нет | — |
| includeValuesPreview | checkbox | Нет | — |
| exportAllPathsAsCsv | checkbox | Нет | — |
HTML-результат
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Добавьте этот инструмент на свой сервер Model Context Protocol, чтобы ИИ-агенты могли перечислять и вызывать его.
Добавьте этот блок в конфигурацию вашего MCP-клиента:
{
"mcpServers": {
"elysiatools-json-path-visualizer": {
"name": "json-path-visualizer",
"description": "Показывает JSON или JSONL в виде раскрывающегося дерева и позволяет копировать JSONPath для каждого узла",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=json-path-visualizer",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}После подключения к SSE-endpoint выведите список доступных инструментов:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Вызовите инструмент по его id; аргументы формируются из его параметров:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "json-path-visualizer",
"arguments": {
"jsonInput": "{\n \"store\": {\n \"book\": [\n { \"title\": \"Clean Code\", \"price\": 32, \"authors\": [\"Robert C. Martin\"] },\n { \"title\": \"The Pragmatic Programmer\", \"price\": 28, \"authors\": [\"Andrew Hunt\", \"David Thomas\"] }\n ],\n \"bicycle\": { \"color\": \"red\", \"price\": 99.95 }\n }\n}",
"jsonFile": "",
"inputFormat": "auto",
"searchTerm": "price",
"expandDepth": 3,
"includeValuesPreview": true,
"exportAllPathsAsCsv": true
}
}
}Вопросы или проблемы? Свяжитесь с [email protected]