format_json
Format and validate JSON strings with customizable indentation. Get pretty-printed output or a clear error message for invalid input.
Instructions
Format and validate a JSON string. Returns pretty-printed JSON or a clear error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| indent | No | ||
| json_string | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |