Github Project Manager

list_pull_requests

List pull requests in a GitHub repository with filtering options

Input Schema

NameRequiredDescriptionDefault
baseNoFilter by base branch
directionNoSort direction
headNoFilter by head branch
ownerYesRepository owner (username or organization)
pageNoPage number
per_pageNoResults per page
repoYesRepository name
sortNoSort field
stateNoPull request state

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "base": { "description": "Filter by base branch", "type": "string" }, "direction": { "description": "Sort direction", "enum": [ "asc", "desc" ], "type": "string" }, "head": { "description": "Filter by head branch", "type": "string" }, "owner": { "description": "Repository owner (username or organization)", "type": "string" }, "page": { "description": "Page number", "type": "number" }, "per_page": { "description": "Results per page", "type": "number" }, "repo": { "description": "Repository name", "type": "string" }, "sort": { "description": "Sort field", "enum": [ "created", "updated", "popularity", "long-running" ], "type": "string" }, "state": { "description": "Pull request state", "enum": [ "open", "closed", "all" ], "type": "string" } }, "required": [ "owner", "repo" ], "type": "object" }