merge_branch_into_target
Merge one agent branch into a target branch by applying source changes and resolving conflicts by timestamp, with optional force override and source archiving.
Instructions
Merge A Branch Into A Target Branch
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": {
"agent_id": "<agent_id>",
"source_branch_id": "<source_branch_id>",
"target_branch_id": "<target_branch_id>"
},
"name": "merge_branch_into_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force source branch changes onto the target, overriding timestamp-based conflict resolution | |
| agent_id | Yes | The id of an agent. This is returned on agent creation. | |
| source_branch_id | Yes | Unique identifier for the source branch to merge from. | |
| target_branch_id | Yes | The ID of the target branch to merge into. | |
| archive_source_branch | No | Whether to archive the source branch after merging |