{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/FunctionDefinition", "title": "FunctionDefinition", "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string", "description": "The name of the function to be called. Must be a-z, A-Z,\n0-9, or contain underscores and dashes, with a maximum\nlength of 64.\n", "maxLength": 64, "example": "Example Title" }, "description": { "type": "string", "description": "A description of what the function does, used by the model\nto choose when and how to call the function.\n", "example": "A sample description." }, "parameters": { "type": "object", "description": "The parameters the functions accepts, described as a JSON\nSchema object. Omitting parameters defines a function with\nan empty parameter list.\n", "example": "example_value" }, "strict": { "type": "boolean", "description": "Whether to enable strict schema adherence when generating\nthe function call. When set to true, the model will always\nfollow the exact schema defined in the parameters field.\n", "nullable": true, "default": false, "example": true } } }