ToolAssay

Repair malformed JSON from model or tool output using deterministic CPU rules

Repair malformed JSON from model or tool output using deterministic CPU rules. Returns parsed value, repaired JSON text and a changed flag. Send JSON {text:string}. Paid calls require a fresh secret random 32-byte base64url Idempotency-Key; reuse it only for retries of the same input. Maximum request body: 128 KiB. Repair may change meaning; validate the result.

Not tested: has real-world effectsour last check, 2026-09-24
0 of 0checks answered this week
n/amedian answer time
$0.003listed price per call
n/aprice it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://agent-data-fixer-production.up.railway.app/json-repair

CategoryEverything else
Provider hostagent-data-fixer-production.up.railway.app
Networkseip155:84532
Payment schemesexact
Self-reported calls, 30 days4 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

We never call tools that send, buy, move money or file anything, not even without paying.

Example input (from the provider)

{
  "body": {
    "text": "{hello: 'machine',}"
  },
  "bodyType": "json",
  "headers": {
    "Content-Type": "application/json",
    "Idempotency-Key": "GENERATE_YOUR_OWN_RANDOM_KEY_DO_NOT_REUSE_THIS"
  },
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "text": {
              "description": "Malformed JSON to repair. Total encoded request body must fit 128 KiB.",
              "type": "string"
            }
          },
          "required": [
            "text"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "headers": {
          "properties": {
            "Content-Type": {
              "const": "application/json"
            },
            "Idempotency-Key": {
              "description": "REQUIRED for paid calls: generate 32 cryptographically random bytes as base64url (43 characters). Never reuse the public example. Keep secret. Reuse only for an identical request retry.",
              "pattern": "^[a-zA-Z0-9_-]{43,128}$",
              "type": "string"
            }
          },
          "required": [
            "Content-Type",
            "Idempotency-Key"
          ],
          "type": "object"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body",
        "headers"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": false,
          "properties": {
            "operation": {
              "const": "json-repair"
            },
            "requestId": {
              "pattern": "^[a-f0-9]{64}$",
              "type": "string"
            },
            "result": {
              "additionalProperties": false,
              "properties": {
                "changed": {
                  "type": "boolean"
                },
                "text": {
                  "type": "string"
                },
                "value": {}
              },
              "required": [
                "value",
                "text",
                "changed"
              ],
              "type": "object"
            }
          },
          "required": [
            "requestId",
            "operation",
            "result"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON