Sample input
{"b":2,"a":1,"list":[3,1,2]}
Format minified or messy JSON into a readable structure, with key sorting, custom indentation, and tolerant parsing for trailing commas.
{"b":2,"a":1,"list":[3,1,2]}
curl -X POST https://toolkit.fun/api/v1/t/json-pretty \
-H "Authorization: Bearer tk_..." \
-H "Content-Type: application/json" \
-d '{"input":"...","params":{}}'
MCP server: https://toolkit.fun/api/mcp
Read the manifest first, then call the same run contract used by the web UI. The input, output, permissions, and receipt stay consistent across REST and MCP.
Manifest: https://toolkit.fun/api/v1/registry/tools/json-pretty/manifest REST: POST https://toolkit.fun/api/v1/t/json-pretty MCP: https://toolkit.fun/api/mcp
Use this tool directly when you need JSON Formatter / Sorter, want to chain it into a workflow, or want to expose it to an agent over REST API or MCP. This page carries the sample, call syntax, manifest, and version so search engines and generative retrieval can describe the tool accurately.
Format minified or messy JSON into a readable structure, with key sorting, custom indentation, and tolerant parsing for trailing commas.