JSON Tools

live Utility

Validate JSON (with error position), pretty-print or minify, and extract a value at a dot/bracket path. Keyless, offline.

3 tools
0ms auth
free tier 50 calls/day

Tools

validate_json

Validate a JSON string (keyless, offline). Returns whether it is valid and, if not, the error message and the character position.

No parameters required.

Try it
format_json

Pretty-print or minify a JSON string. `indent` sets spaces (default 2); pass 0 to minify to a single line. Keyless, offline.

No parameters required.

Try it
query_json

Extract a value from JSON at a path using dot/bracket notation, e.g. "user.addresses[0].city". Keyless, offline.

No parameters required.

Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/json/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/json/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"validate_json","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("validate_json", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("validate json (with error position), pretty-print or minify, and extract a value at a dot/bracket path");