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 | Must be true to run a destructive operation, after the user approved it | |
| project_id | No | Project id. Optional: defaults to the project created or used last in this session, or the only one. | |
| organization_id | No | Organization id. Optional: defaults to the token's organization, or the only one you belong to. |