# veryfront__create_branch

Create a branch from the project root or from another branch, snapshotting its files. Requires project.files.write.

Risk: mutating.

## Arguments

| Name                   | Type    | Required | Description                                                                                                                                                                                       |
| ---------------------- | ------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `name`                 | string  | Yes      | Branch name (e.g., "feature-new-header"). Branch name may only contain letters, numbers, ".", "\_", "/" and "-", and cannot start with "-".                                                       |
| `base_branch_id`       |         |          | Omit to branch from the project root (created automatically if missing). Use null to create a root branch; rejected if a root already exists. A UUID must identify a base branch in this project. |
| `description`          | string  |          | Branch description.                                                                                                                                                                               |
| `auto_delete_on_merge` | boolean |          | Delete the branch after it merges (default: false).                                                                                                                                               |
| `project_reference`    | string  |          | Project ID or slug                                                                                                                                                                                |

## Call it

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