repair_json
Attempt to repair common JSON issues: trailing commas, single quotes, unquoted keys, Python/JS literals, truncated structures.
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_string": "<json_string>"
},
"name": "repair_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key_id | No | Your Stripe Customer ID, used for metered billing ($1.00/mo base includes first 100 requests; $0.01 each after). | |
| json_string | Yes | The malformed JSON text to repair. |