branch.merge
Three-way merge of branch head into its parent base using the recorded fork base. Without apply this is a dry run returning the plan and conflicts; with apply a clean plan is applied. Conflicting plans need a forced merge from the console. POST /v1/organizations/{id}/projects/{project}/branches/merge.
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": {
"organization_id": "<organization_id>",
"project_id": "<project_id>",
"base": "<base>",
"head": "<head>",
"confirm": "<confirm>"
},
"name": "branch.merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | base (required) | |
| head | Yes | head (required) | |
| apply | No | Apply a clean plan instead of a dry run (default false) | |
| confirm | Yes | Must be true to apply this mutation; otherwise the tool returns the request it would send for approval. | |
| project_id | Yes | project_id (required) | |
| organization_id | Yes | organization_id (required) |