Skip to main content

JSON Processor Pack

Trustedv1.0.0MITGold Verified95

by AgentNode · published 1 month ago · toolpack

Parse, transform, query, and validate JSON data structures.

JMESPath queries, schema validation, and structural transformations for JSON.

langchaincrewaigeneric

Quick Start

bash
agentnode install json-processor-pack

Runs in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.

Usage

From package
python
from json_processor_pack.tool import run

api_response = {
    "data": {
        "users": [
            {"id": 1, "name": "Alice Chen", "role": "admin", "active": True, "logins": 142},
            {"id": 2, "name": "Bob Patel", "role": "editor", "active": True, "logins": 87},
            {"id": 3, "name": "Carol Wu", "role": "admin", "active": False, "logins": 12},
            {"id": 4, "name": "Dave Kim", "role": "viewer", "active": True, "logins": 234}
        ],
        "total": 4,
        "page": 1
    }
}

# JMESPath query: get names of active admins
result = run(
    action="process_json",
    operation="query",
    data=api_response,
    jmespath="data.users[?role=='admin' && active].name"
)

print(f"Active admins: {result['result']}")
# Active admins: ['Alice Chen']

# Flatten the nested structure
flat = run(
    action="process_json",
    operation="flatten",
    data=api_response,
    separator="."
)
for key, value in flat["result"].items():
    print(f"  {key}: {value}")

Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works

Verification

high confidence95/100★ Gold Verified
smokeReturned valid result
+25/25
testsPublisher-provided tests passed
+15/15
importAll tools imported successfully
+15/15
installInstalled in 1.6s
+15/15
contractAll contract checks passed
+10/10
determinismConsistent output across runs (normalized)
+5/5
reliability3/3 runs passed
+10/10

Package installs and imports correctly. runtime checks passed. publisher tests passed.

install1.6s
import686ms
smoke994ms
tests2.1s

This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.

Python 3.12.3ffmpegpopplertesseractuv

Last verified 13d ago· Runner v2.0.0

Use this when you need to...

  • Query nested API responses using JMESPath expressions
  • Validate webhook payloads against JSON Schema definitions
  • Flatten deeply nested JSON into tabular row format
  • Merge and diff two JSON configuration files
  • Transform JSON data structures with field mapping and renaming

README

Version History

Capabilities

json_processingprocess_jsontool

Permissions

Declared by the publisher. Checked before execution by the policy gate.

Networknone
Filesystemnone
Code Executionnone
Data Accessinput_only
User Approvalnever

Permissions are policy-checked before execution. Network and filesystem access are not sandboxed at runtime. Learn more

Privacy

All tool execution happens locally on your machine. AgentNode never receives:

  • • Tool inputs or outputs
  • • Execution logs
  • • Data your agent processes

Only install events and search queries are sent to the registry.

bash
agentnode install json-processor-pack

Files (3)

License

MIT

Stats

Downloads0
Installs0
Versionv1.0.0
Published3/16/2026
Channelstable
Typetoolpack
Entrypointjson_processor_pack.tool

Compatibility

Frameworks

langchaincrewaigeneric

Runtime

python

Python Version

>=3.10

Trust & Security

PublisherTrusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode