gluecron_set_pr_draft
Mark a pull request ready for review (draft=false) or convert it back to a draft (draft=true). Same rule as the web 'Ready for review' button: the caller needs write access and must be the PR author or the repository owner; only an open PR changes; marking ready starts the AI review. Idempotent. Requires 'repo' scope. Returns {number, isDraft, changed}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repo name | |
| draft | Yes | true = convert to draft, false = mark ready for review | |
| owner | Yes | Repo owner — username or organisation slug | |
| number | Yes | PR number |