{"slug":"denk-halowerk-com-v1-schema-simplify-78b67b","title":"Simplify a JSON Schema for language-model tool use","host":"denk.halowerk.com","method":"POST","resource":"https://denk.halowerk.com/v1/schema-simplify","category":"code","description":"Simplify a JSON Schema for language-model tool use: inline local $refs, merge allOf objects, collapse single-branch unions and strip meta keywords. Inlines local $ref targets from $defs/definitions (recursion is reported, not expanded), merges allOf lists of object schemas, collapses anyOf/oneOf wit","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":3,"answered_7d":3,"latency_ms_median":903,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"schema":{"$defs":{"Addr":{"properties":{"city":{"type":"string"}},"type":"object"}},"properties":{"home":{"$ref":"#/$defs/Addr"}},"type":"object"}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"schema":{"type":"object"}},"required":["schema"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":902,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":921,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":903,"error":null}],"description_full":"Simplify a JSON Schema for language-model tool use: inline local $refs, merge allOf objects, collapse single-branch unions and strip meta keywords. Inlines local $ref targets from $defs/definitions (recursion is reported, not expanded), merges allOf lists of object schemas, collapses anyOf/oneOf with a single branch, removes $schema/$id/$comment/readOnly/writeOnly/deprecated and lists properties that still lack a description.","last_updated":"2026-11-24T10:20:11.265Z","schemes":["exact"]}