format-json
Pretty-print, minify, or validate JSON strings to improve readability, reduce size, or check for errors.
Instructions
Pretty-print, minify, or validate a JSON string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | JSON string | |
| mode | No | Operation (default: pretty) | pretty |