Skip to main content
Delete a branch and all its associated content. This action cannot be undone.

Tool details

FieldValue
Namedelete_branch
GroupBranches

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "branch_id": {
      "type": "string",
      "format": "uuid",
      "description": "Branch ID to delete"
    },
    "confirm": {
      "type": "boolean",
      "description": "Must be true to confirm deletion"
    }
  },
  "required": [
    "branch_id",
    "confirm"
  ],
  "additionalProperties": false,
  "description": "Input schema for the delete_branch tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the record."
    },
    "deleted": {
      "type": "boolean",
      "description": "The deleted associated with this record."
    },
    "branch_name": {
      "type": "string",
      "description": "The branch name associated with this record."
    }
  },
  "required": [
    "id",
    "deleted",
    "branch_name"
  ],
  "additionalProperties": false,
  "description": "Structured delete branch output schema for MCP tools.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}