Data Processing
Trace JSON field paths, derived dependencies, and transformation history to build a field-level lineage graph
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/json-data-lineage-tracer' \
-H 'Content-Type: application/json' \
-d '{"sourceJson":"{\n \"order\": {\n \"id\": \"ORD-1001\",\n \"customer\": {\n \"firstName\": \"Ada\",\n \"lastName\": \"Lovelace\"\n },\n \"totalCents\": 2599\n }\n}","lineageRulesJson":"{\n \"rules\": [\n {\n \"target\": \"$.order.totalUsd\",\n \"sources\": [\n \"$.order.totalCents\"\n ],\n \"transforms\": [\n \"divide_by_100\",\n \"round(2)\"\n ]\n },\n {\n \"target\": \"$.order.customerLabel\",\n \"sources\": [\n \"$.order.customer.firstName\",\n \"$.order.customer.lastName\"\n ],\n \"transforms\": [\n \"concat(\\\" \\\")\"\n ]\n }\n ]\n}","includeContainerNodes":true,"maxFields":200}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/json-data-lineage-tracer| Name | Type | Required | Description |
|---|---|---|---|
| sourceJson | textarea | Yes | — |
| lineageRulesJson | textarea | No | — |
| includeContainerNodes | checkbox | No | — |
| maxFields | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-json-data-lineage-tracer": {
"name": "json-data-lineage-tracer",
"description": "Trace JSON field paths, derived dependencies, and transformation history to build a field-level lineage graph",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=json-data-lineage-tracer",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "json-data-lineage-tracer",
"arguments": {
"sourceJson": "{\n \"order\": {\n \"id\": \"ORD-1001\",\n \"customer\": {\n \"firstName\": \"Ada\",\n \"lastName\": \"Lovelace\"\n },\n \"totalCents\": 2599\n }\n}",
"lineageRulesJson": "{\n \"rules\": [\n {\n \"target\": \"$.order.totalUsd\",\n \"sources\": [\n \"$.order.totalCents\"\n ],\n \"transforms\": [\n \"divide_by_100\",\n \"round(2)\"\n ]\n },\n {\n \"target\": \"$.order.customerLabel\",\n \"sources\": [\n \"$.order.customer.firstName\",\n \"$.order.customer.lastName\"\n ],\n \"transforms\": [\n \"concat(\\\" \\\")\"\n ]\n }\n ]\n}",
"includeContainerNodes": true,
"maxFields": 200
}
}
}Questions or issues? Contact [email protected]