create_branch
Create a new branch in the Bauplan data catalog from a specified reference to enable isolated data operations.
Instructions
Create a new branch in the user's Bauplan data catalog using a branch name, returning a confirmation.
Args: branch: Name of the new branch to create. Must follow the format <username.branch_name>. from_ref: Reference (branch/commit) to create the branch from. Can be either a branch name or a hash that starts with "@" and has 64 additional characters.
Returns: BranchCreated: Object indicating success/failure with branch details
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"branch": "<branch>",
"from_ref": "<from_ref>"
},
"name": "create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | ||
| from_ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| created | Yes | ||
| name | No | ||
| hash | No | ||
| message | No |