json_format
Validates and formats JSON strings with pretty-print or minified output, using a configurable indent. Use it to fix malformed JSON and return structured, readable results.
Instructions
Valida e formata uma string JSON (pretty-print e minificado).
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": {
"text": "<text>"
},
"name": "json_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | String JSON. | |
| indent | No | Indentação em espaços (padrão: 2). |