mergePullRequest
Merges a Bitbucket Data Center pull request by repository and PR ID, with optional merge strategy and commit message.
Instructions
Merge a pull request
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": {
"repoSlug": "<repoSlug>",
"prId": "<prId>"
},
"name": "mergePullRequest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | ||
| message | No | Merge commit message | |
| repoSlug | Yes | ||
| strategy | No | ||
| projectKey | No |