Deterministic JSON repair for agent tool outputs, with optional JSON Schema validation
Deterministic JSON repair for agent tool outputs, with optional JSON Schema validation. Built for tight agent loops at micropayment prices.
10000 (raw units)
price
6
calls / 30d
6
unique payers
2026-09-17
updated
Provider
agent.kihustle.tech · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x1c8b3C34Dca2Ba2A71598f1F9E0BC2a04A0Bea36",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 3600
}
]Output schema
{
"bazaar": {
"discoverable": true,
"info": {
"category": "commerce",
"description": "Cheapest Hermes settle demo: deterministic JSON repair + schema validate via x402 ($0.01)",
"input": {
"body": {
"json_text": "{\"ok\": true,}",
"schema": {
"properties": {
"ok": {
"type": "boolean"
}
},
"required": [
"ok"
],
"type": "object"
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"generated_at": "2026-01-01T00:00:00+00:00",
"issue_codes": [],
"job_id": "job_example",
"limitations": [
"Heuristic repair only."
],
"next_jobs": [],
"parse_ok": true,
"repair_notes": [
"repair_attempted"
],
"repaired": true,
"repaired_json": {
"ok": true
},
"schema_errors": [],
"schema_ok": true,
"service": "json-schema-repair",
"sources": [
{
"note": "client payload",
"url": "inline://json_text"
}
],
"status": "completed",
"summary": "JSON repair succeeded; repaired=True; schema_check=True. Deterministic repair for agent loops."
},
"type": "json"
},
"serviceName": "Hermes Commerce",
"tags": [
"hermes",
"micro",
"json-repair",
"schema",
"demo",
"agent-loop"
],
"toolName": "json-schema-repair"
},
"resource": {
"description": "Cheapest Hermes settle demo: deterministic JSON repair + schema validate via x402 ($0.01)",
"mimeType": "application/json",
"serviceName": "Hermes Commerce",
"tags": [
"hermes",
"micro",
"json-repair",
"schema",
"demo",
"agent-loop"
],
"url": "https://agent.kihustle.tech/services/json-schema-repair/jobs"
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"category": {
"type": "string"
},
"description": {
"type": "string"
},
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"json_text": {
"description": "Raw JSON text to repair",
"type": "string"
},
"schema": {
"description": "Optional JSON Schema",
"type": "object"
}
},
"required": [
"json_text"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"queryParams": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"serviceName": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"toolName": {
"type": "string"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://agent.kihustle.tech/services/json-schema-repair/jobs" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://agent.kihustle.tech/services/json-schema-repair/jobs");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://agent.kihustle.tech/services/json-schema-repair/jobs")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/2610.json, and this resource appears in /discovery/resources and /discovery/search.