format_json
Format and beautify messy JSON with configurable indentation. Clean up compressed or poorly formatted JSON blocks for readability.
Instructions
Format and beautify JSON
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "format_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to format | |
| indent_size | No | Number of spaces for indentation (1-8) |