bitbucket_set_draft
Toggle a pull request's draft flag on or off while preserving its title, description, and full reviewer list across the required PUT update.
Instructions
Turn a pull request's draft flag on or off. Preserves title, description and the full reviewer list across the required PUT (Bitbucket PUT replaces the whole resource).
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": {
"project": "<project>",
"repo": "<repo>",
"id": "<id>",
"draft": "<draft>"
},
"name": "bitbucket_set_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| repo | Yes | Repository slug, e.g. sigma-skills | |
| draft | Yes | ||
| project | Yes | Bitbucket project key, e.g. KD_SIGMA |