Mistral AI · Schema
FunctionDefinition
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the function |
| description | string | Description of what the function does |
| parameters | object | JSON Schema describing the function parameters |
JSON Schema
{
"$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"
},
"description": {
"type": "string",
"description": "Description of what the function does"
},
"parameters": {
"type": "object",
"description": "JSON Schema describing the function parameters"
}
}
}