json_format
Parse and format raw JSON strings into pretty-printed output with structure statistics for validation, inspection, and debugging.
Instructions
Parse, format, and analyze a JSON string. Returns pretty-printed output and structure stats.
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 | Raw JSON string to parse and format. |