GitHub

pull_request_read

Get information on a specific pull request in GitHub repository.

Remote github

Other tools also called pull_request_read? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "page": {
      "type": "number",
      "minimum": 1,
      "description": "Page number for pagination (min 1)"
    },
    "repo": {
      "type": "string",
      "description": "Repository name"
    },
    "owner": {
      "type": "string",
      "description": "Repository owner"
    },
    "method": {
      "enum": [
        "get",
        "get_diff",
        "get_status",
        "get_files",
        "get_review_comments",
        "get_reviews",
        "get_comments",
        "get_check_runs"
      ],
      "type": "string",
      "description": "Action to specify what pull request data needs to be retrieved from GitHub. \nPossible options: \n 1. get - Get details of a specific pull request.\n 2. get_diff - Get the diff of a pull request.\n 3. get_status - Get combined commit status of a head commit in a pull request.\n 4. get_files - Get the list of files changed in a pull request. Use with pagination parameters to control the number of results returned.\n 5. get_review_comments - Get review threads on a pull request. Each thread contains logically grouped review comments made on the same code location during pull request reviews. Returns threads with metadata (isResolved, isOutdated, isCollapsed) and their associated comments. Use cursor-based pagination (perPage, after) to control results.\n 6. get_reviews - Get the reviews on a pull request. When asked for review comments, use get_review_comments method.\n 7. get_comments - Get comments on a pull request. Use this if user doesn't specifically want review comments. Use with pagination parameters to control the number of results returned.\n 8. get_check_runs - Get check runs for the head commit of a pull request. Check runs are the individual CI/CD jobs and checks that run on the PR.\n"
    },
    "perPage": {
      "type": "number",
      "maximum": 100,
      "minimum": 1,
      "description": "Results per page for pagination (min 1, max 100)"
    },
    "pullNumber": {
      "type": "number",
      "description": "Pull request number"
    }
  }
}
          

Provider

GitHub →