# veryfront__delete_branch

Delete a branch and its uncommitted changes. Requires project.files.write; API keys also need delete scope.

Risk: mutating.

## Arguments

| Name        | Type    | Required | Description                                                                                                           |
| ----------- | ------- | -------- | --------------------------------------------------------------------------------------------------------------------- |
| `branch_id` | string  | Yes      | Branch to delete. Only a branch with a base branch can be deleted, excluding main. Its associated content is removed. |
| `confirm`   | boolean | Yes      | Must be true to confirm deletion                                                                                      |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__delete_branch",
    "arguments": {
      "branch_id": "<branch_id>",
      "confirm": "<confirm>"
    }
  }
}
```
