llm_structured_json_schema_repair
Repair malformed, truncated, or hallucinated LLM JSON outputs to strictly conform to JSON Schema definitions using default fallbacks.
Instructions
Enforces and repairs non-compliant, truncated, or hallucinated LLM JSON outputs to strictly conform to JSON Schema definitions with default fallbacks. (0.035 USDC on Base L2)
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": {
"payload": "<payload>"
},
"name": "llm_structured_json_schema_repair"
}
}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 |