Merge a branch
branches_mergeMerge a branch's schema changes into its parent (default production). Without apply it is a dry run that shows the plan and conflicts; apply: true with confirm: true applies it. Scope: branches:write.
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>"
},
"name": "branches_merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| into | No | Target branch, default production | |
| apply | No | Apply the merge (default false: plan only) | |
| branch | Yes | The branch to merge | |
| confirm | No | true only after the user approved the destructive operation | |
| project_id | No | Project id, e.g. `todo-app`. Default: the last one used, or your only one. | |
| organization_id | No | Organization id, e.g. `acme`. Default: the token's. |