Letta · Schema

ToolSearchResult

Result from a tool search operation.

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

Properties

Name Type Description
tool object The matched tool.
embedded_text object The embedded text content used for matching.
fts_rank object Full-text search rank position.
vector_rank object Vector search rank position.
combined_score number Combined relevance score (RRF for hybrid mode).
View JSON Schema on GitHub

JSON Schema

letta-toolsearchresult-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ToolSearchResult",
  "title": "ToolSearchResult",
  "properties": {
    "tool": {
      "$ref": "#/components/schemas/Tool",
      "description": "The matched tool."
    },
    "embedded_text": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Embedded Text",
      "description": "The embedded text content used for matching."
    },
    "fts_rank": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Fts Rank",
      "description": "Full-text search rank position."
    },
    "vector_rank": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Vector Rank",
      "description": "Vector search rank position."
    },
    "combined_score": {
      "type": "number",
      "title": "Combined Score",
      "description": "Combined relevance score (RRF for hybrid mode)."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "tool",
    "combined_score"
  ],
  "description": "Result from a tool search operation."
}