Mistral AI · Schema

ToolCall

Properties

Name Type Description
id string
type string
function object
View JSON Schema on GitHub

JSON Schema

mistral-toolcall-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ToolCall",
  "title": "ToolCall",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "function"
      ]
    },
    "function": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "arguments": {
          "type": "string"
        }
      }
    }
  }
}