Skip to main content
Delete all chunks for a file on a branch.

Tool details

FieldValue
Namedelete_file_chunks
GroupSearch

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project identifier or slug that scopes the tool call."
    },
    "branch_name": {
      "type": "string",
      "description": "Provide the branch name."
    },
    "file_path": {
      "type": "string",
      "description": "Provide the file path."
    },
    "confirm": {
      "type": "boolean",
      "description": "Must be true to confirm deletion"
    }
  },
  "required": [
    "project_reference",
    "branch_name",
    "file_path",
    "confirm"
  ],
  "additionalProperties": false,
  "description": "Input schema for the delete_file_chunks tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "file_path": {
      "type": "string",
      "description": "The file path associated with this tool result."
    },
    "deleted_chunks": {
      "type": "number",
      "description": "The deleted chunks associated with this tool result."
    },
    "deleted_embeddings": {
      "type": "number",
      "description": "The deleted embeddings associated with this tool result."
    }
  },
  "required": [
    "file_path",
    "deleted_chunks",
    "deleted_embeddings"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the delete_file_chunks tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}