generate_pr_review
Generates AI-powered code reviews for GitHub pull requests, analyzing diffs and incorporating project context from guidelines and configuration files.
Instructions
Generate code review for a GitHub Pull Request with configuration discovery.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| github_pr_url | No | GitHub PR URL (e.g., 'https://github.com/owner/repo/pull/123') | |
| project_path | No | Optional local project path for context (default: current directory) | |
| temperature | No | Temperature for AI model (default: 0.5, range: 0.0-2.0) | |
| enable_gemini_review | No | Enable Gemini AI code review generation (default: true) | |
| include_claude_memory | No | Include CLAUDE.md files in context (default: true) | |
| include_cursor_rules | No | Include Cursor rules files in context (default: false) | |
| auto_meta_prompt | No | Automatically generate and embed meta prompt in user_instructions (default: true) | |
| use_templated_instructions | No | Use templated backup instructions instead of generated meta prompt (default: false) | |
| create_context_file | No | Save context to file and return context content (default: false) | |
| raw_context_only | No | Return raw context content without AI processing (default: false) | |
| text_output | No | Return content directly without saving (default: false - saves to timestamped .md file) | |
| thinking_budget | No | Optional token budget for thinking mode (if supported by model) | |
| url_context | No | Optional URL(s) to include in context - can be string or list of strings |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |