json_format
Pretty-print or minify JSON strings with configurable indentation to improve readability or reduce size for storage and transfer.
Instructions
Pretty-print or minify a JSON string.
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": {
"json": "<json>"
},
"name": "json_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | ||
| indent | No |