Skip to main content
Store embeddings for chunks.

Tool details

FieldValue
Nameupsert_file_chunk_embeddings
GroupSearch

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project identifier or slug that scopes the tool call."
    },
    "chunk_ids": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid",
        "description": "One chunk id item supplied to the tool."
      },
      "minItems": 1,
      "maxItems": 100,
      "description": "Provide one or more chunk id values."
    },
    "vectors": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number",
          "description": "One item item supplied to the tool."
        },
        "description": "One vector item supplied to the tool."
      },
      "minItems": 1,
      "maxItems": 100,
      "description": "Provide one or more vector values."
    },
    "model": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Human-readable name for the target record."
        },
        "provider": {
          "type": "string",
          "description": "Provide the provider."
        },
        "dimension": {
          "type": "number",
          "description": "Provide the dimension."
        }
      },
      "required": [
        "name",
        "provider",
        "dimension"
      ],
      "additionalProperties": false,
      "description": "Structured model details used by the tool."
    }
  },
  "required": [
    "project_reference",
    "chunk_ids",
    "vectors",
    "model"
  ],
  "additionalProperties": false,
  "description": "Input schema for the upsert_file_chunk_embeddings tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "embeddings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the returned record."
          },
          "model": {
            "type": "string",
            "description": "The model associated with this tool result."
          },
          "status": {
            "type": "string",
            "enum": [
              "ready",
              "stale",
              "missing"
            ],
            "description": "Lifecycle status for the returned record."
          },
          "created_at": {
            "type": "string",
            "description": "Creation timestamp in ISO 8601 format."
          }
        },
        "required": [
          "id",
          "model",
          "status",
          "created_at"
        ],
        "additionalProperties": false,
        "description": "One embedding item associated with this tool result."
      },
      "description": "List of embeddings associated with this tool result."
    },
    "created": {
      "type": "number",
      "description": "The created associated with this tool result."
    },
    "updated": {
      "type": "number",
      "description": "The updated associated with this tool result."
    }
  },
  "required": [
    "embeddings",
    "created",
    "updated"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the upsert_file_chunk_embeddings tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}