get_pr_content
Retrieve details of a GitHub pull request including title, description, author, timestamps, and state by specifying repository owner, name, and PR number.
Instructions
Fetches the content/details of a specific pull request from a GitHub repository. Args: repo_owner (str): The owner of the repository. repo_name (str): The name of the repository. pr_number (int): The pull request number. Returns: Dict[str, Any]: A dictionary containing the pull request's title, description, author, creation and update timestamps, and state. 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 |
|---|---|---|---|
| title | Yes | ||
| description | Yes | ||
| author | Yes | ||
| created_at | Yes | ||
| updated_at | Yes | ||
| state | Yes |