set_pr_draft_status
Toggle a pull request between draft and published state using its URL or ID. Specify true to mark as draft, false to publish.
Instructions
Toggle a PR between draft and published state.
Args: pr_url_or_id: A full PR URL or numeric PR ID. is_draft: True to mark as draft, False to publish. working_directory: Optional path for context resolution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_url_or_id | Yes | ||
| is_draft | Yes | ||
| working_directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |