Skip to main content
Create a new pull request in a repository

Tool details

FieldValue
Namegithub__create_pr
GroupIntegrations

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "owner": {
      "type": "string",
      "description": "Repository owner"
    },
    "repo": {
      "type": "string",
      "description": "Repository name"
    },
    "title": {
      "type": "string",
      "description": "PR title"
    },
    "body": {
      "type": "string",
      "description": "PR description (markdown)"
    },
    "head": {
      "type": "string",
      "description": "Branch to merge from (e.g. feature-branch or owner:feature-branch)"
    },
    "base": {
      "type": "string",
      "description": "Branch to merge into (e.g. main)"
    },
    "draft": {
      "type": "boolean",
      "description": "Create as draft PR"
    }
  },
  "required": [
    "owner",
    "repo",
    "title",
    "head",
    "base"
  ],
  "description": "Input schema for the github__create_pr tool."
}

Output schema

This tool does not publish an output schema.