Letta · Schema

ToolSchema

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

Properties

Name Type Description
args_json_schema object
created_at string
description string
json_schema object
name string
return_char_limit integer
source_code object
source_type string
tags array
tool_type string
updated_at string
metadata_ object
View JSON Schema on GitHub

JSON Schema

letta-letta-serialize-schemas-pydantic-agent-schema-toolschema-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/letta__serialize_schemas__pydantic_agent_schema__ToolSchema",
  "title": "ToolSchema",
  "properties": {
    "args_json_schema": {
      "anyOf": [
        {},
        {
          "type": "null"
        }
      ],
      "title": "Args Json Schema"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "description": {
      "type": "string",
      "title": "Description"
    },
    "json_schema": {
      "$ref": "#/components/schemas/ToolJSONSchema"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "return_char_limit": {
      "type": "integer",
      "title": "Return Char Limit"
    },
    "source_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Code"
    },
    "source_type": {
      "type": "string",
      "title": "Source Type"
    },
    "tags": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Tags"
    },
    "tool_type": {
      "type": "string",
      "title": "Tool Type"
    },
    "updated_at": {
      "type": "string",
      "title": "Updated At"
    },
    "metadata_": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metadata"
    }
  },
  "type": "object",
  "required": [
    "args_json_schema",
    "created_at",
    "description",
    "json_schema",
    "name",
    "return_char_limit",
    "source_code",
    "source_type",
    "tags",
    "tool_type",
    "updated_at"
  ]
}