json_format
Format JSON for readability or minify it to reduce size. Specify action and indent to control output.
Instructions
Format (pretty-print) or minify JSON
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | JSON string to format or minify | |
| action | No | Action: format or minify (default: format) | |
| indent | No | Indent spaces for format (default: 2) |