Skip to content
HALOWERK

Denkwerk

tool schema translate

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 tool is reported as a warning instead of being changed silently. Deterministic, no model involved, nothing stored.

POST https://denk.halowerk.com/v1/tool-schema-translate

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
toolsarrayYesTool definitions in OpenAI, OpenAI Responses, Anthropic, Gemini or MCP format (mixed allowed).
tostringYesTarget format.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "tools",
    "to"
  ],
  "properties": {
    "tools": {
      "type": "array",
      "minItems": 1,
      "maxItems": 128,
      "items": {
        "type": "object"
      },
      "description": "Tool definitions in OpenAI, OpenAI Responses, Anthropic, Gemini or MCP format (mixed allowed)."
    },
    "to": {
      "type": "string",
      "enum": [
        "openai",
        "openai-responses",
        "anthropic",
        "gemini",
        "mcp"
      ],
      "description": "Target format."
    }
  }
}

Open original schema

Published input example

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

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’