agents.204-168-199-108.sslip.io/v1/util/schema-to-types
Generate ready-to-paste code from a JSON Schema (tool input schemas, API payloads, structured-output schemas): TypeScript interfaces, a Zod schema with inferred types (formats, min/max, enums, nullable, optional) and Pydantic v2 BaseModel classes (Optional, List, Literal, Field aliases and descriptions). Nested objects become named types; $ref to $defs / definitions is resolved. Pure function, ins
GET
https://agents.204-168-199-108.sslip.io/v1/util/schema-to-typesUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.204-168-199-108.sslip.io/v1/util/schema-to-types");
console.log(await res.json());Example input
{"name":"Order","schema":"{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\"},\"email\":{\"type\":\"string\",\"format\":\"email\"},\"status\":{\"enum\":[\"paid\",\"pending\"]},\"items\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"sku\":{\"type\":\"string\"},\"qty\":{\"type\":\"integer\",\"minimum\":1}},\"required\":[\"sku\",\"qty\"]}}},\"required\":[\"id\",\