get_pull_request_merge_status
Check whether a pull request meets merge preconditions to determine if it can be merged. Avoid merge conflicts by verifying mergeability before proceeding.
Instructions
Check if a pull request can be merged (merge preconditions).
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": {
"projectKey": "<projectKey>",
"repositorySlug": "<repositorySlug>",
"pullRequestId": "<pullRequestId>"
},
"name": "get_pull_request_merge_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectKey | Yes | The Bitbucket project key | |
| pullRequestId | Yes | The pull request ID | |
| repositorySlug | Yes | The repository slug |