Letta · Schema

ChatCompletionMessageFunctionToolCall

A call to a function tool created by the model.

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

Properties

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

JSON Schema

letta-chatcompletionmessagefunctiontoolcall-output-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ChatCompletionMessageFunctionToolCall-Output",
  "title": "ChatCompletionMessageFunctionToolCall",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "function": {
      "$ref": "#/components/schemas/Function-Output"
    },
    "type": {
      "type": "string",
      "const": "function",
      "title": "Type"
    }
  },
  "additionalProperties": true,
  "type": "object",
  "required": [
    "id",
    "function",
    "type"
  ],
  "description": "A call to a function tool created by the model."
}