Skip to main content
Glama

list_pull_requests

Retrieve and filter pull requests from a Gitee repository by state, labels, milestone, or sorting criteria for efficient code review and collaboration.

Instructions

列出 Gitee 仓库中的 Pull Requests

Input Schema

NameRequiredDescriptionDefault
directionNoSort directiondesc
labelsNoLabels, multiple labels separated by commas
milestoneNoMilestone ID
ownerYesRepository owner path (enterprise, organization, or personal path)
pageNoPage number
per_pageNoNumber of items per page, maximum 100
repoYesRepository path
sortNoSort fieldcreated
stateNoPull Request stateopen

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "direction": { "default": "desc", "description": "Sort direction", "enum": [ "asc", "desc" ], "type": "string" }, "labels": { "description": "Labels, multiple labels separated by commas", "type": "string" }, "milestone": { "description": "Milestone ID", "type": "number" }, "owner": { "description": "Repository owner path (enterprise, organization, or personal path)", "type": "string" }, "page": { "default": 1, "description": "Page number", "type": "integer" }, "per_page": { "description": "Number of items per page, maximum 100", "maximum": 100, "minimum": 1, "type": "integer" }, "repo": { "description": "Repository path", "type": "string" }, "sort": { "default": "created", "description": "Sort field", "enum": [ "created", "updated", "popularity", "long-running" ], "type": "string" }, "state": { "default": "open", "description": "Pull Request state", "enum": [ "open", "closed", "merged", "all" ], "type": "string" } }, "required": [ "owner", "repo" ], "type": "object" }

You must be authenticated.

Other Tools from Gitee

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/normal-coder/gitee-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server