Mistral AI · Schema

FunctionDefinition

AgentsArtificial IntelligenceBatch ProcessingChatEmbeddingsFine-TuningLarge Language ModelsOCR

Properties

Name Type Description
name string The name of the function to be called.
description string A description of what the function does.
parameters object The parameters the function accepts, described as a JSON Schema object.
View JSON Schema on GitHub

JSON Schema

mistral-ai-functiondefinition-schema.json Raw ↑
{
  "$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."
    },
    "description": {
      "type": "string",
      "description": "A description of what the function does."
    },
    "parameters": {
      "type": "object",
      "description": "The parameters the function accepts, described as a JSON Schema object."
    }
  }
}