Letta · JSON Structure

Letta Tool Structure

Flat structure summary of the Letta Tool entity, derived from the Letta OpenAPI 1.0.0 spec.

Type: Properties: 0
AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

letta-tool is a JSON Structure definition published by Letta.

Meta-schema:

JSON Structure

Raw ↑
{
  "jsonStructure": "0.1",
  "name": "letta-tool",
  "title": "Letta Tool",
  "description": "Flat structure summary of the Letta Tool entity, derived from the Letta OpenAPI 1.0.0 spec.",
  "source": "https://raw.githubusercontent.com/letta-ai/letta/main/fern/openapi.json",
  "entity": "Tool",
  "fields": [
    {
      "name": "id",
      "type": "string",
      "required": false,
      "description": "The human-friendly ID of the Tool",
      "enum": null,
      "format": null
    },
    {
      "name": "tool_type",
      "type": "string",
      "required": false,
      "description": "",
      "enum": [
        "custom",
        "letta_core",
        "letta_memory_core",
        "letta_multi_agent_core",
        "letta_sleeptime_core",
        "letta_voice_sleeptime_core",
        "letta_builtin",
        "letta_files_core",
        "external_langchain",
        "external_composio",
        "external_mcp"
      ],
      "format": null
    },
    {
      "name": "description",
      "type": "object",
      "required": false,
      "description": "The description of the tool.",
      "enum": null,
      "format": null
    },
    {
      "name": "source_type",
      "type": "object",
      "required": false,
      "description": "The type of the source code.",
      "enum": null,
      "format": null
    },
    {
      "name": "name",
      "type": "object",
      "required": false,
      "description": "The name of the function.",
      "enum": null,
      "format": null
    },
    {
      "name": "tags",
      "type": "array<string>",
      "required": false,
      "description": "Metadata tags.",
      "enum": null,
      "format": null
    },
    {
      "name": "source_code",
      "type": "object",
      "required": false,
      "description": "The source code of the function.",
      "enum": null,
      "format": null
    },
    {
      "name": "json_schema",
      "type": "object",
      "required": false,
      "description": "The JSON schema of the function.",
      "enum": null,
      "format": null
    },
    {
      "name": "args_json_schema",
      "type": "object",
      "required": false,
      "description": "The args JSON schema of the function.",
      "enum": null,
      "format": null
    },
    {
      "name": "return_char_limit",
      "type": "integer",
      "required": false,
      "description": "The maximum number of characters in the response.",
      "enum": null,
      "format": null
    },
    {
      "name": "pip_requirements",
      "type": "object",
      "required": false,
      "description": "Optional list of pip packages required by this tool.",
      "enum": null,
      "format": null
    },
    {
      "name": "npm_requirements",
      "type": "object",
      "required": false,
      "description": "Optional list of npm packages required by this tool.",
      "enum": null,
      "format": null
    },
    {
      "name": "default_requires_approval",
      "type": "object",
      "required": false,
      "description": "Default value for whether or not executing this tool requires approval.",
      "enum": null,
      "format": null
    },
    {
      "name": "enable_parallel_execution",
      "type": "object",
      "required": false,
      "description": "If set to True, then this tool will potentially be executed concurrently with other tools. Default False.",
      "enum": null,
      "format": null
    },
    {
      "name": "created_by_id",
      "type": "object",
      "required": false,
      "description": "The id of the user that made this Tool.",
      "enum": null,
      "format": null
    },
    {
      "name": "last_updated_by_id",
      "type": "object",
      "required": false,
      "description": "The id of the user that made this Tool.",
      "enum": null,
      "format": null
    },
    {
      "name": "metadata_",
      "type": "object",
      "required": false,
      "description": "A dictionary of additional metadata for the tool.",
      "enum": null,
      "format": null
    },
    {
      "name": "project_id",
      "type": "object",
      "required": false,
      "description": "The project id of the tool.",
      "enum": null,
      "format": null
    }
  ],
  "fieldCount": 18,
  "requiredCount": 0
}