Delete branch

veryfront__delete_branch

Requires project.files.write; API keys also need delete scope.

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
branch_idstringYesBranch to delete. Only a branch with a base branch can be deleted, excluding main. Its associated content is removed. Format: uuid.
confirmbooleanYesMust be true to confirm deletion

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__delete_branch",
    "arguments": {
      "branch_id": "00000000-0000-4000-8000-000000000000",
      "confirm": true
    }
  }
}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
okbooleanYesValue: true.

Full schemas

json
{
  "type": "object",
  "properties": {
    "branch_id": {
      "type": "string",
      "format": "uuid",
      "description": "Branch to delete. Only a branch with a base branch can be deleted, excluding main. Its associated content is removed."
    },
    "confirm": {
      "type": "boolean",
      "description": "Must be true to confirm deletion"
    }
  },
  "required": [
    "branch_id",
    "confirm"
  ],
  "additionalProperties": false,
  "description": "Arguments for the delete_branch tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "const": true
    }
  },
  "required": [
    "ok"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the delete_branch tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}