Mistral AI · Schema

ToolCall

AgentsArtificial IntelligenceBatch ProcessingChatEmbeddingsFine-TuningLarge Language ModelsOCR

Properties

Name Type Description
id string The ID of the tool call.
type string The type of the tool call.
function object
View JSON Schema on GitHub

JSON Schema

mistral-ai-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",
      "description": "The ID of the tool call."
    },
    "type": {
      "type": "string",
      "enum": [
        "function"
      ],
      "description": "The type of the tool call."
    },
    "function": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the function to call."
        },
        "arguments": {
          "type": "string",
          "description": "The arguments to call the function with, as a JSON string."
        }
      }
    }
  }
}