Skip to content
Fourohtwo

Paste one tool definition (or a list) in any format

agents.204-168-199-108.sslip.io/v1/util/tool-schema-convert

Paste one tool definition (or a list) in any format — OpenAI Chat Completions {type:'function',function:{…}}, OpenAI Responses, Anthropic {name,input_schema}, MCP {name,inputSchema}, Gemini functionDeclaration {name,parameters} or a bare JSON Schema — and get it back in every other format. Optional OpenAI strict mode (all keys required, optional ones made nullable, additionalProperties:false). War

BasePolygonSolanaaws:baseAnswering
GEThttps://agents.204-168-199-108.sslip.io/v1/util/tool-schema-convert

Uptime100% 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/tool-schema-convert?strict=true&to=openai%2Cgemini%2Cmcp&tool=%7B%22name%22%3A%22get_weather%22%2C%22description%22%3A%22Current+weather+for+a+city%22%2C%22input_schema%22%3A%7B%22type%22%3A%22object%22%2C%22properties%22%3A%7B%22city%22%3A%7B%22type%22%3A%22string%22%2C%22description%22%3A%22City+name%22%7D%2C%22units%22%3A%7B%22type%22%3A%22string%22%2C%22enum%22%3A%5B%22metric%22%2C%22imperial%22%5D%7D%7D%2C%22required%22%3A%5B%22city%22%5D%7D%7D");
console.log(await res.json());

Example input

{
  "strict": "true",
  "to": "openai,gemini,mcp",
  "tool": "{\"name\":\"get_weather\",\"description\":\"Current weather for a city\",\"input_schema\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\",\"description\":\"City name\"},\"units\":{\"type\":\"string\",\"enum\":[\"metric\",\"imperial\"]}},\"required\":[\"city\"]}}"
}
Paste one tool definition (or a list) in any format by Tool schema converter LLM · x402 API | Fourohtwo