json_json_format
Format a JSON string with configurable indentation to enhance readability and simplify debugging.
Instructions
[json] Pretty-print a JSON string with configurable indentation.
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": {
"data": "<data>"
},
"name": "json_json_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| indent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |