create_pull_request
Automate GitHub pull request creation with proper authentication. Specify title, description, base and head branches, and working directory. Supports dry runs for previewing changes.
Instructions
Create a GitHub pull request with proper authentication handling
Input Schema
Name | Required | Description | Default |
---|---|---|---|
baseBranch | No | Base branch (target) | main |
body | Yes | Pull request description | |
dryRun | No | Preview without executing | |
headBranch | No | Head branch (source, defaults to current branch) | |
title | Yes | Pull request title | |
workingDir | No | Working directory path |
Input Schema (JSON Schema)
{
"properties": {
"baseBranch": {
"default": "main",
"description": "Base branch (target)",
"type": "string"
},
"body": {
"description": "Pull request description",
"type": "string"
},
"dryRun": {
"default": false,
"description": "Preview without executing",
"type": "boolean"
},
"headBranch": {
"description": "Head branch (source, defaults to current branch)",
"type": "string"
},
"title": {
"description": "Pull request title",
"type": "string"
},
"workingDir": {
"description": "Working directory path",
"type": "string"
}
},
"required": [
"title",
"body"
],
"type": "object"
}