create_pr
Create a GitHub Pull Request without AI code review. You supply the title and description.
Instructions
Creates a Pull Request on GitHub WITHOUT AI review. RECOMMENDED WORKFLOW: (1) Call 'generate_pr_title' → get prompt, (2) YOU analyze and generate title, (3) Call 'generate_pr_description' → get prompt, (4) YOU analyze and generate description, (5) Call THIS tool with 'title' and 'description' parameters. If not provided, simple versions are auto-generated from commits/templates. NOTE: This tool does NOT include AI code review. For complete PR WITH AI review, use 'create_pr_complete' instead. This tool: analyzes branch, creates/updates PR, adds reviewers automatically. Requires GITHUB_TOKEN. Use when user asks to create a simple PR without code review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | No | Create the PR as a draft | |
| title | No | RECOMMENDED: YOUR (Claude's) generated PR title. Workflow: (1) Call 'generate_pr_title' to get analysis prompt, (2) YOU analyze and create intelligent title, (3) Pass YOUR title here. DO NOT pass the tool's output directly - it's a prompt for YOU, not the final title. If not provided, a simple title is auto-generated from commit messages. | |
| language | No | Description language | fr |
| template | No | Template to use for the description | standard |
| baseBranch | No | Base branch for comparison (auto-detected if not provided) | |
| description | No | RECOMMENDED: YOUR (Claude's) generated PR description. Workflow: (1) Call 'generate_pr_description' to get analysis prompt, (2) YOU analyze and write intelligent description, (3) Pass YOUR description here. DO NOT pass the tool's output directly - it's a prompt for YOU, not the final description. If not provided, a simple template-based description is auto-generated. | |
| githubToken | No | GitHub token for authentication (optional, defaults to GITHUB_TOKEN env var) | |
| addReviewers | No | Automatically suggest and add reviewers based on Git history | |
| includeStats | No | Include statistics in the description | |
| maxReviewers | No | Maximum number of reviewers to add (1-20) | |
| maxTitleLength | No | Maximum length for the title (optional, e.g., 72) |