GitHub

list_pull_requests

List pull requests in a GitHub repository. If the user specifies an author, then DO NOT use this tool and use the search_pull_requests tool instead.

Remote github

Other tools also called list_pull_requests? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "base": {
      "type": "string",
      "description": "Filter by base branch"
    },
    "head": {
      "type": "string",
      "description": "Filter by head user/org and branch"
    },
    "page": {
      "type": "number",
      "minimum": 1,
      "description": "Page number for pagination (min 1)"
    },
    "repo": {
      "type": "string",
      "description": "Repository name"
    },
    "sort": {
      "enum": [
        "created",
        "updated",
        "popularity",
        "long-running"
      ],
      "type": "string",
      "description": "Sort by"
    },
    "owner": {
      "type": "string",
      "description": "Repository owner"
    },
    "state": {
      "enum": [
        "open",
        "closed",
        "all"
      ],
      "type": "string",
      "description": "Filter by state"
    },
    "perPage": {
      "type": "number",
      "maximum": 100,
      "minimum": 1,
      "description": "Results per page for pagination (min 1, max 100)"
    },
    "direction": {
      "enum": [
        "asc",
        "desc"
      ],
      "type": "string",
      "description": "Sort direction"
    }
  }
}
          

Provider

GitHub →