Github Create Pr
github_create_prCreate a pull request and apply labels in a follow-up call, ensuring label visibility even when the token lacks write access.
Instructions
Creates a new pull request. Labels are applied in a second call, since the create endpoint takes none, and they come back under labels so a set the token could not write is visible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | ||
| body | Yes | ||
| head | Yes | ||
| draft | No | ||
| title | Yes | ||
| labels | No | Labels to apply, with the 'mcp' tracking label appended unless mcp_label is False. Omit to leave the pull request unlabelled | |
| mcp_label | No | Append the 'mcp' tracking label to labels. Pass False to opt out | |
| repo_name | Yes | ||
| repo_owner | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||