Skip to main content
Glama

GitHub PR Issue Analyser

by saidsef

get_github_pr_diff

Fetch the diff of a specific pull request from a GitHub repository by providing the repo owner, name, and PR number. Returns the changes as a string or an error message if issues occur.

Instructions

Fetches the diff 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 to fetch the diff for. Returns: str: The diff of the pull request as a string. Returns an empty string if no changes are found, or an error message string if an exception occurs. Error Handling: Logs and returns the error message if an exception is raised during the fetch operation.

Input Schema

NameRequiredDescriptionDefault
pr_numberYes
repo_nameYes
repo_ownerYes

Input Schema (JSON Schema)

{ "properties": { "pr_number": { "title": "Pr Number", "type": "integer" }, "repo_name": { "title": "Repo Name", "type": "string" }, "repo_owner": { "title": "Repo Owner", "type": "string" } }, "required": [ "repo_owner", "repo_name", "pr_number" ], "title": "get_github_pr_diffArguments", "type": "object" }
Install Server

Other Tools from GitHub PR Issue Analyser

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/saidsef/mcp-github-pr-issue-analyser'

If you have feedback or need assistance with the MCP directory API, please join our Discord server