Tool Definition Builder
Build or import one function tool and convert it between OpenAI, Anthropic, and Gemini formats.
How to use
In Build mode, name the function, describe when it should be used, and add parameters with types, descriptions, required flags, and optional comma-separated enum values. Toggle OpenAI strict mode when you need a strict function schema.
In Import mode, paste an OpenAI tools object, an Anthropic tool with input_schema, or Gemini functionDeclarations. The tool detects the source and normalizes it, then lets you copy any target format. Nested imported object/array schemas are preserved as generic object or array parameter shapes.
FAQ
What does OpenAI strict mode change?
It adds strict: true and additionalProperties: false. Optional fields are represented as required nullable fields to satisfy strict structured-output rules.
Can I import a complete API request?
Yes, when the request contains a tools array or functionDeclarations collection. The first function declaration is converted.
Is the schema sent to a provider?
No. Building, parsing, and conversion happen entirely in your browser.