Letta · Schema

FunctionTool

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

Properties

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

JSON Schema

letta-functiontool-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FunctionTool",
  "title": "FunctionTool",
  "properties": {
    "function": {
      "$ref": "#/components/schemas/FunctionDefinition"
    },
    "type": {
      "type": "string",
      "const": "function",
      "title": "Type"
    }
  },
  "additionalProperties": true,
  "type": "object",
  "required": [
    "function",
    "type"
  ]
}