JSON Format
text_json_formatFormat and pretty-print a JSON string with configurable indentation. Use when making minified or compact JSON readable for debugging or documentation.
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": "text_json_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | Raw JSON string to format | |
| indent | No | Number of spaces for indentation (0-8) |