Skip to content
onelayer.
All tools

Tool detail

Atinamos JSON Validate / Repair

Validates or conservatively repairs malformed JSON (unquoted keys, single quotes, trailing commas, code fences, BOMs, Python literals), reporting every fix applied.

Categories: Utilities

Use when

  • repair malformed or near-JSON text from a model or tool
  • validate whether a payload is strict JSON before using it

Not for

  • not an LLM rewrite — deterministic, reported repairs only

Inputs

POST JSON body (required): json (string); optional: mode (enum: validate|repair, default repair).

Admitted input schema

{
  "type": "object",
  "properties": {
    "json": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "JSON or JSON-like text to validate or conservatively repair. Supported repairs include unquoted object keys, single-quoted strings, trailing commas, Markdown fences, UTF-8 BOMs and JSON-compatible Python literals."
    },
    "mode": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "validate",
        "repair"
      ],
      "default": "repair"
    }
  },
  "required": [
    "json"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://agent.atinamos.co.uk/agent/json-repair

Payment

Protocol
x402
Listed price
$0.005 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://agent.atinamos.co.uk/agent/json-repair
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z