format-json
Format JSON strings by pretty-printing for readability, minifying for compactness, or validating for correctness.
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 |