merge_branch
Merge a source branch into a target branch within your Bauplan data catalog. Provide branch names in the format username.branch_name to combine changes.
Instructions
Merge a source branch into a target branch in the user's Bauplan data catalog using source and target branch names. Branch names must follow the format <username.branch_name>.
Args: source_ref: The branch to merge from. The name must follow the format <username.branch_name>. into_branch: The target branch to merge into. The name must follow the format <username.branch_name>. commit_message: Optional custom commit message for the merge commit_body: Optional additional commit body/description
Returns: MergeResult: Object indicating success/failure with merge 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": {
"source_ref": "<source_ref>",
"into_branch": "<into_branch>"
},
"name": "merge_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_ref | Yes | ||
| into_branch | Yes | ||
| commit_message | No | ||
| commit_body | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merged | Yes | ||
| source_ref | Yes | ||
| target_branch | Yes | ||
| message | No |