Tool / Function Schema Converter

Paste tool definitions in any provider’s format and get them back as OpenAI, Anthropic, Gemini or MCP tools. Lint them for strict mode, or generate a schema from a JSON example.

No data leaves your browser
Detected–
Input tools
Output
Checks every tool (or a bare schema) against strict-mode rules
Tools or JSON Schema
    Example arguments (JSON)
    Tool definition

    Frequently Asked Questions

    What is the difference between OpenAI and Anthropic tool formats?

    OpenAI Chat Completions wraps each tool as {"type": "function", "function": {name, description, parameters}}; the Responses API flattens it to {"type": "function", name, description, parameters}. Anthropic uses {name, description, input_schema}. MCP uses {name, description, inputSchema}. The JSON Schema inside is the same idea in all of them.

    What does strict mode require?

    For guaranteed schema-valid arguments (OpenAI strict / structured outputs, Anthropic strict tool use), every object needs "additionalProperties": false and every property must be listed in "required"; optional fields are expressed by allowing null. Some JSON Schema keywords are not supported. The linter flags these and can fix them.

    Does Gemini accept full JSON Schema?

    Gemini's classic "parameters" field takes an OpenAPI-style subset, so the converter removes keywords like additionalProperties and $schema for it. Newer Gemini versions also accept full JSON Schema via parametersJsonSchema.

    Is my schema sent anywhere?

    No. Parsing, converting and linting all run in your browser.

    More Developer Tools

    JSON ToolsFormat, validate, minify & compare JSON JSON FormatterPretty-print and beautify JSON CSV Viewer & EditorView, edit and convert CSV files YAML ConverterConvert YAML to JSON and back Regex TesterTest regular expressions live Text DiffCompare two texts side by side JWT ToolDecode, encode, compare and verify JWTs JWT DecoderInspect JWT header and payload XML FormatterFormat, validate and convert XML URL EncoderEncode, decode and parse URLs Base64Encode and decode Base64 strings Hash GeneratorSHA-256, MD5, HMAC and CRC32 SHA-256Generate SHA-256 checksums MD5 GeneratorGenerate MD5 hash values Text ToolsCase convert, count and transform text Number ConverterBinary, hex and octal converter Token CalculatorEstimate LLM token counts from text PDF EditorEdit text, sign and annotate PDFs Schema GeneratorJSON to TypeScript, Go, Rust, Python IndexNowSubmit URLs to Bing, Yandex & more PII RedactorMask personal data & keys before AI Timestamp ConverterUnix epoch to date and back UUID GeneratorUUID v4/v7, ULID, Nano ID Password GeneratorSecure passwords & passphrases MCP Config BuilderConfigs for Claude, Cursor, VS Code AGENTS.md GeneratorCLAUDE.md, Cursor rules, Copilot AI Crawler Controlsrobots.txt for AI bots & llms.txt Cron ParserExplain crontab, next run times SQL FormatterBeautify & minify SQL queries cURL ConvertercURL to fetch, Python, Go, PHP Chat Export ConverterChatGPT/Claude export to Markdown Markdown PreviewLive GFM preview & to HTML Color & ContrastHEX/RGB/OKLCH, WCAG checker QR Code GeneratorURL, Wi-Fi, vCard; PNG & SVG Tool Schema ConverterOpenAI ↔ Anthropic ↔ Gemini ↔ MCP JSONL ValidatorFine-tuning & batch files SSE Stream ParserReassemble LLM streaming responses Prompt Template & DiffFill {{vars}}, compare versions