Skip to content
Fourohtwo

denk.halowerk.com/v1/tool-schema-translate

Translate tool/function definitions between OpenAI, OpenAI Responses, Anthropic, Gemini and MCP formats with a warning for every lossy change. Accepts tool definitions in any of the five common formats (mixed lists allowed) and emits them in the requested target format. Gemini output is reduced to the documented Schema subset with upper-case types; every dropped keyword, reduced union and renamed

BaseAnswering
POSThttps://denk.halowerk.com/v1/tool-schema-translate

Uptime100% of 4 checks 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://denk.halowerk.com/v1/tool-schema-translate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"to":"anthropic","tools":[{"function":{"description":"Current weather for a city.","name":"get_weather","parameters":{"properties":{"city":{"type":"string"}},"required":["city"],"type":"object"}},"type":"function"}]}),
});
console.log(await res.json());

Example input

{
  "to": "anthropic",
  "tools": [
    {
      "function": {
        "description": "Current weather for a city.",
        "name": "get_weather",
        "parameters": {
          "properties": {
            "city": {
              "type": "string"
            }
          },
          "required": [
            "city"
          ],
          "type": "object"
        }
      },
      "type": "function"
    }
  ]
}