HomeDeveloper toolsFunction Schema Builder

Function Schema Builder

Build a named function definition from a parameters JSON Schema.

Processing stays in your browser. Produces a generic function definition. Adapt its wrapper and schema subset to your chosen API; this does not call a model.

How to use the function schema builder

Build a named function definition from a parameters JSON Schema. Complete the function name, description, parameters json schema fields above, or upload a UTF-8 text file for parameters json schema. Choose Run tool, review the output, then copy or download the result.

Example

A required city parameter appears in parameters.required.

Good to know

Produces a generic function definition. Adapt its wrapper and schema subset to your chosen API; this does not call a model.