Check Project Merge
openl_check_project_mergeCheck merge readiness between branches: validates merge direction, permissions, and blockers without altering Git. Know if the target is up-to-date or if source has pending changes before merging.
Instructions
Check merge direction, branch relationship, permissions, and blockers without changing Git. This is not a conflict preview: status='mergeable' means the source has changes absent from the target, not that the merge is conflict-free; conflicts are discovered only by openl_merge_project_branches. status='up-to-date' means the target already contains the source. canMerge reports whether Studio permits the attempt after permission, protection, and lock checks. mode='receive' merges otherBranch into the project's current branch; mode='send' merges the current branch into otherBranch. Discover merge targets with openl_list_project_branches(scope='repository'), because a valid target may not hold the project yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | receive merges the other branch into the project's current branch; send merges the current branch into otherBranch. | |
| projectId | Yes | Project ID returned by backend. Use the exact 'projectId' value from openl_list_projects() response without modification or reformatting. | |
| otherBranch | Yes | The other branch: source for receive mode, target for send mode. Discover all merge targets with openl_list_project_branches(scope='repository'). | |
| response_format | No | Response format: 'json' for structured, round-trippable data (default), 'markdown' for human-readable output, 'markdown_concise' for a brief summary (1-2 paragraphs), or 'markdown_detailed' for full details with context | json |