format_json
Validate raw JSON and return it pretty-printed or minified. pretty (default true) uses two-space indentation; false minifies. sort_keys (default false) sorts object keys alphabetically and leaves array order alone. Input is capped at 1 MB. Invalid JSON raises with the line and column and is not charged. Pay-per-call via x402 (USDC on Base), no account or API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| pretty | No | ||
| sort_keys | No |