get_pr_diff
Retrieve the raw diff/patch of a pull request from a GitHub repository to review code changes or analyze modifications.
Instructions
Fetches the diff/patch of a specific pull request from a GitHub repository. Args: repo_owner (str): The owner of the GitHub repository. repo_name (str): The name of the GitHub repository. pr_number (int): The pull request number. Returns: str: The raw patch/diff text of the pull request if successful. Raises: GitHubNotFoundError: If the PR is not found. GitHubAPIError: If the API request fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_owner | Yes | ||
| repo_name | Yes | ||
| pr_number | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |