json_format
Format JSON strings with customizable indentation to improve readability and structure for developers.
Instructions
Pretty-print / format 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": {
"input": "<input>"
},
"name": "json_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | JSON string to format | |
| indent | No | Indent size |