Letta · Schema

ToolCallContent

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

Properties

Name Type Description
type string Indicates this content represents a tool call event.
id string A unique identifier for this specific tool call instance.
name string The name of the tool being called.
input object The parameters being passed to the tool, structured as a dictionary of parameter names to values.
signature object Stores a unique identifier for any reasoning associated with this tool call.
View JSON Schema on GitHub

JSON Schema

letta-toolcallcontent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ToolCallContent",
  "title": "ToolCallContent",
  "properties": {
    "type": {
      "type": "string",
      "const": "tool_call",
      "title": "Type",
      "description": "Indicates this content represents a tool call event.",
      "default": "tool_call"
    },
    "id": {
      "type": "string",
      "title": "Id",
      "description": "A unique identifier for this specific tool call instance."
    },
    "name": {
      "type": "string",
      "title": "Name",
      "description": "The name of the tool being called."
    },
    "input": {
      "additionalProperties": true,
      "type": "object",
      "title": "Input",
      "description": "The parameters being passed to the tool, structured as a dictionary of parameter names to values."
    },
    "signature": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Signature",
      "description": "Stores a unique identifier for any reasoning associated with this tool call."
    }
  },
  "type": "object",
  "required": [
    "id",
    "name",
    "input"
  ]
}