repair_malformed_json
Repair malformed JSON from LLMs by fixing truncated strings, unclosed quotes, missing braces, trailing commas, and single-quoted values.
Instructions
Repairs truncated JSON, unclosed quotes, missing closing braces, trailing commas, and single-quoted strings emitted by LLMs. (0.005 USDC on Base L2)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Input parameters or JSON string payload for the tool execution | |
| paymentSignature | No | Base L2 USDC micropayment signature or transaction hash for x402 settlement |