convertTodraft
Change a pull request to draft status in Bitbucket to signal it is not ready for review or merging. Provide workspace, repo slug, and pull request ID to update the PR.
Instructions
Convert a regular pull request to draft status
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": {
"workspace": "<workspace>",
"repo_slug": "<repo_slug>",
"pull_request_id": "<pull_request_id>"
},
"name": "convertTodraft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_slug | Yes | Repository slug | |
| workspace | Yes | Bitbucket workspace name | |
| pull_request_id | Yes | Pull request ID |