Skip to content

Home > llm-ops > FunctionInterface > parameters

FunctionInterface.parameters property

The parameters the functions accepts, described as a JSON Schema object. See the [guide](https://platform.openai.com/docs/guides/gpt/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.

To describe a function that accepts no parameters, provide the value {"type": "object", "properties": {}}.

Signature:

typescript
parameters: Record<string, unknown>;
parameters: Record<string, unknown>;

Released under the MIT License.