Letta · Schema

ToolSchema

Tool with human-readable ID for agent file

Artificial IntelligenceAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen-Source

Properties

Name Type Description
id string Human-readable identifier for this tool in the file
tool_type object The type of the tool.
description object The description of the tool.
source_type object The type of the source code.
name object The name of the function.
tags array Metadata tags.
source_code object The source code of the function.
json_schema object The JSON schema of the function.
args_json_schema object The args JSON schema of the function.
return_char_limit integer The maximum number of characters in the response.
pip_requirements object Optional list of pip packages required by this tool.
npm_requirements object Optional list of npm packages required by this tool.
default_requires_approval object Default value for whether or not executing this tool requires approval.
enable_parallel_execution object If set to True, then this tool will potentially be executed concurrently with other tools. Default False.
created_by_id object The id of the user that made this Tool.
last_updated_by_id object The id of the user that made this Tool.
metadata_ object A dictionary of additional metadata for the tool.
project_id object The project id of the tool.
View JSON Schema on GitHub

JSON Schema

letta-letta-schemas-agent-file-toolschema-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/letta__schemas__agent_file__ToolSchema",
  "title": "ToolSchema",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id",
      "description": "Human-readable identifier for this tool in the file"
    },
    "tool_type": {
      "$ref": "#/components/schemas/ToolType",
      "description": "The type of the tool.",
      "default": "custom"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description",
      "description": "The description of the tool."
    },
    "source_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Type",
      "description": "The type of the source code."
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "description": "The name of the function."
    },
    "tags": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Tags",
      "description": "Metadata tags.",
      "default": []
    },
    "source_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Code",
      "description": "The source code of the function."
    },
    "json_schema": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Json Schema",
      "description": "The JSON schema of the function."
    },
    "args_json_schema": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Args Json Schema",
      "description": "The args JSON schema of the function."
    },
    "return_char_limit": {
      "type": "integer",
      "maximum": 1000000,
      "minimum": 1,
      "title": "Return Char Limit",
      "description": "The maximum number of characters in the response.",
      "default": 50000
    },
    "pip_requirements": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/components/schemas/PipRequirement"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pip Requirements",
      "description": "Optional list of pip packages required by this tool."
    },
    "npm_requirements": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/components/schemas/NpmRequirement"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Npm Requirements",
      "description": "Optional list of npm packages required by this tool."
    },
    "default_requires_approval": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Default Requires Approval",
      "description": "Default value for whether or not executing this tool requires approval."
    },
    "enable_parallel_execution": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Enable Parallel Execution",
      "description": "If set to True, then this tool will potentially be executed concurrently with other tools. Default False.",
      "default": false
    },
    "created_by_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Created By Id",
      "description": "The id of the user that made this Tool."
    },
    "last_updated_by_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Updated By Id",
      "description": "The id of the user that made this Tool."
    },
    "metadata_": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metadata",
      "description": "A dictionary of additional metadata for the tool."
    },
    "project_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Project Id",
      "description": "The project id of the tool."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "id"
  ],
  "description": "Tool with human-readable ID for agent file"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/letta-letta-schemas-agent-file-toolschema"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.