Free tool • Runs in your browser
AI tool schema generator
Build function calling schemas for Claude, OpenAI and Gemini from a simple list of parameters.
Quick answer
A tool schema tells a model a function's name, what it does and which arguments it accepts, using JSON Schema. Each provider wraps it slightly differently. Clear descriptions matter because the model uses them to decide when and how to call the tool.
How to use it
- Name the tool and describe when it should be used.
- Add each parameter with its type, description and whether it is required.
- Choose a provider and copy the generated JSON.
Example
Name: get_weather Parameter: city (string, required)
{
"name": "get_weather",
"input_schema": {
"type": "object",
"properties": { "city": { "type": "string" } },
"required": ["city"]
}
}Common errors and how to fix them
- The model never calls my tool
- Make the description say when to use the tool, not only what it does.
- Arguments come back in the wrong format
- Use an enum for fixed values and describe the expected format in the parameter description.
Frequently asked questions
What is an AI tool schema?
It is a description of a function a model may ask to call, including its name, purpose and parameters. It is usually written in JSON Schema.
What is function calling in AI?
The model returns a structured request to use a tool you defined. Your code runs the tool and sends the result back to the model.
How do I write a function calling schema?
Name the function, describe when to use it, and list each parameter with a type and description. Then mark the required parameters.
Does the model run my function itself?
No. With client-side tools, the model only requests the call, and your application decides whether to run it.
What is the difference between Claude, OpenAI and Gemini tool formats?
All describe parameters with a JSON Schema style object but wrap it differently. Claude uses input_schema, while OpenAI and Gemini use parameters.
Why is the AI not calling my tool?
The description may not make clear when to use it. Say when the tool applies, not only what it does.
What does strict mode do in a tool schema?
It asks the provider to return arguments that match your schema. Strict schemas set additionalProperties to false, and rules vary by provider.
How do I restrict a parameter to fixed values?
Add them as allowed values, and the generator writes them as an enum for string parameters.
Do I still need to validate the arguments?
Yes. Always validate inputs in your code before running a tool, especially one that changes data.
Is my schema uploaded?
No. It is generated in your browser and is not sent to Quecko.
More AI tools
Need something built for your business?
Quecko designs and builds AI, Web3 and custom software products.