update_pull_request
Modify and manage Gitee repository Pull Requests by updating titles, content, states, labels, assignees, or milestones directly through the MCP server.
Instructions
更新 Gitee 仓库中的 Pull Request
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assignees | No | Reviewers | |
| body | No | Pull Request content | |
| labels | No | Labels | |
| milestone_number | No | Milestone number | |
| owner | Yes | Repository owner path (enterprise, organization, or personal path) | |
| pull_number | Yes | Pull Request number | |
| repo | Yes | Repository path | |
| state | No | Pull Request state | |
| testers | No | Testers | |
| title | No | Pull Request title |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"assignees": {
"description": "Reviewers",
"items": {
"type": "string"
},
"type": "array"
},
"body": {
"description": "Pull Request content",
"type": "string"
},
"labels": {
"description": "Labels",
"items": {
"type": "string"
},
"type": "array"
},
"milestone_number": {
"description": "Milestone number",
"type": "number"
},
"owner": {
"description": "Repository owner path (enterprise, organization, or personal path)",
"type": "string"
},
"pull_number": {
"description": "Pull Request number",
"type": "number"
},
"repo": {
"description": "Repository path",
"type": "string"
},
"state": {
"description": "Pull Request state",
"enum": [
"open",
"closed"
],
"type": "string"
},
"testers": {
"description": "Testers",
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"description": "Pull Request title",
"type": "string"
}
},
"required": [
"owner",
"repo",
"pull_number"
],
"type": "object"
}