publishDraftPullRequest
Marks a draft pull request as ready for review in Bitbucket Cloud, using the pull request ID to change its status.
Instructions
Publish a draft pull request (mark it as ready for review)
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": {
"pull_request_id": "<pull_request_id>"
},
"name": "publishDraftPullRequest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_slug | No | ||
| workspace | No | ||
| pull_request_id | Yes | Pull request ID |