GitHub

search_pull_requests

Search for pull requests in GitHub repositories using issues search syntax already scoped to is:pr

Remote github

Remote (network-hosted)

Other tools also called search_pull_requests? 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": "Optional repository name. If provided with owner, only pull requests for this repository are listed."
    },
    "sort": {
      "enum": [
        "comments",
        "reactions",
        "reactions-+1",
        "reactions--1",
        "reactions-smile",
        "reactions-thinking_face",
        "reactions-heart",
        "reactions-tada",
        "interactions",
        "created",
        "updated"
      ],
      "type": "string",
      "description": "Sort field by number of matches of categories, defaults to best match"
    },
    "order": {
      "enum": [
        "asc",
        "desc"
      ],
      "type": "string",
      "description": "Sort order"
    },
    "owner": {
      "type": "string",
      "description": "Optional repository owner. If provided with repo, only pull requests for this repository are listed."
    },
    "query": {
      "type": "string",
      "description": "Search query using GitHub pull request search syntax"
    },
    "perPage": {
      "type": "number",
      "maximum": 100,
      "minimum": 1,
      "description": "Results per page for pagination (min 1, max 100)"
    }
  }
}
          

Provider

GitHub →