ChatGPT · JSON Structure

Chatgpt Chat Completions Function Definition Structure

Type: object Properties: 4
AgentsAIChatGPTEmbeddingsFine-TuningGPT-4GPT-5Language ModelOpenAIRealtime

FunctionDefinition is a JSON Structure definition published by ChatGPT, describing 4 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

name description parameters strict

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "FunctionDefinition",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "parameters": {
      "type": "object"
    },
    "strict": {
      "type": "boolean"
    }
  }
}