repair_malformed_json
Repair malformed JSON by fixing invalid syntax so parsers can read it, with optional validation against a target schema.
Instructions
[Backward-Compatible Alias] Use 'heal_json_schema' instead.
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": {
"raw_text": "<raw_text>"
},
"name": "repair_malformed_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw_text | Yes | ||
| target_schema | No | ||
| payment_signature | No | ||
| target_schema_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |