Tool

Create pull request

The Create Pull Request tool enables developers to efficiently open new pull requests on GitHub repositories directly, streamlining collaboration and code review workflows.

GitHub

Features

  • Supports specifying the source branch (head) and target branch (base) for the pull request.
  • Allows adding a detailed description to provide context for the changes.
  • Option to create pull requests as drafts for early feedback.
  • Configurable settings to allow maintainers to modify the pull request.
  • Easy integration with GitHub repositories by specifying owner and repository name.

Benefits

  • Speeds up the process of submitting code changes for review.
  • Enhances team collaboration by clearly communicating changes.
  • Reduces errors by automating pull request creation with required parameters.
  • Facilitates early feedback through draft pull requests.
  • Improves repository management with customizable permission settings.

Description

Create a new pull request in a GitHub repository.

Parameters

8 parameters

NameTypeDescription
baserequiredstring

Branch to merge into

bodystring

PR description

draftboolean

Create as draft PR

headrequiredstring

Branch containing changes

maintainer_can_modifyboolean

Allow maintainer edits

ownerrequiredstring

Repository owner

reporequiredstring

Repository name

titlerequiredstring

PR title

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .