Tool schema generator.
Describe a function. Review its inputs. Export a schema you understand.
Describe your functions
Generate tool-schema JSON from supported plain English or explicit declarations. Add multiple functions, then review each one. This is a local rules-based parser; it does not create PDFs or execute functions.
Supported descriptions & limits
add numbers takes a and b, both required works for simple functions. For precision, use Function: add numbers, Description: Add two numbers., then a: number, required on its own line.
Nested fields use customer.email: string, optional or items[].quantity: integer, required. Declare the parent object/array first. Types and required status that remain unclear must be chosen in the editor.
Unrecognized lines are reported below. “All required” applies to top-level arguments; explicit optional fields stay optional. Every generated meaning still needs human review. Limits: 20 functions, 150 fields, six levels. Arrays of arrays, open dictionaries, references, unions, defaults and regex constraints are outside this version’s editable subset.
Review & edit
3 functions in this draft · select a function below to review it.
Parameters
6 / 150 fieldsImport existing schema JSON
Reads generic, OpenAI non-strict, Claude or Gemini wrappers in the supported subset. Unsupported keywords are rejected rather than silently removed. Nullable strict schemas are export-only.
From a function description to a reviewable schema.
Start with a plain English example or explicit Function and parameter lines. The local parser looks for names, primitive types and required or optional instructions. It produces a draft, not a guarantee of understanding. Review the one-sentence description, choose any unknown types and presence rules, and add nested object fields or typed arrays in the editor.
Validate the shape before wiring a tool into your application.
The validator checks names, duplicate fields, item types, enums, numeric bounds and required parameters. Test arguments checks a sample JSON object against one function without running that function. It is a supported JSON Schema subset, not a general-purpose validator for every JSON Schema keyword. Schema validity does not prove that the function is safe or that a provider/model will accept the request.
Choose the API format you use.
Generic JSON uses a tools array with function definitions. OpenAI Chat and Responses use their respective wrapper shapes. Optional fields become nullable in OpenAI strict mode. Claude exports input_schema, and Gemini generateContent exports functionDeclarations with parametersJsonSchema. Each result is only the tools fragment of a request; add your model, messages and tool-result handling in your own application.
Provider references: OpenAI function calling · Claude tool definitions · Gemini function declarations. Formats reviewed 18 November 2026; no live provider request is made by this tool.
Frequently asked questions
Does this use an AI API?
No. The generator uses a bounded rules-based parser plus an editable schema builder. It does not send your description anywhere, ask for API keys, execute functions or contact an AI provider.
Can it understand every messy description?
No. Unsupported lines and assumptions are surfaced for review. Use the examples and explicit parameter declarations for predictable results. Unknown type or required status must be resolved before exporting.
Does strict mode mean every parameter is logically required?
In OpenAI strict export, all properties are present in the required list. Fields marked optional in this editor accept null; the caller sends null instead of omitting them. Other output formats retain ordinary optional fields.
Can I import any JSON Schema?
Only the documented editable subset and supported tool wrappers. Unsupported keywords, open dictionaries, null unions and references are rejected explicitly rather than silently dropped. Strict nullable schemas are export-only in this version.
Is my draft saved automatically?
No. This page does not store descriptions or drafts in local storage or the cloud. Download reviewed schema JSON before leaving. Imported files are read locally.
JSON to TypeScript & Zod · Count prompt tokens · Learn API concepts