75 lines
1.7 KiB
Plaintext
75 lines
1.7 KiB
Plaintext
{
|
|
"_meta": {
|
|
"ui": {
|
|
"resourceUri": "ui://github-mcp-server/pr-edit",
|
|
"visibility": [
|
|
"model",
|
|
"app"
|
|
]
|
|
}
|
|
},
|
|
"annotations": {
|
|
"idempotentHint": false,
|
|
"readOnlyHint": false,
|
|
"title": "Edit pull request"
|
|
},
|
|
"description": "Update an existing pull request in a GitHub repository.",
|
|
"inputSchema": {
|
|
"properties": {
|
|
"base": {
|
|
"description": "New base branch name",
|
|
"type": "string"
|
|
},
|
|
"body": {
|
|
"description": "New description",
|
|
"type": "string"
|
|
},
|
|
"draft": {
|
|
"description": "Mark pull request as draft (true) or ready for review (false)",
|
|
"type": "boolean"
|
|
},
|
|
"maintainer_can_modify": {
|
|
"description": "Allow maintainer edits",
|
|
"type": "boolean"
|
|
},
|
|
"owner": {
|
|
"description": "Repository owner",
|
|
"type": "string"
|
|
},
|
|
"pullNumber": {
|
|
"description": "Pull request number to update",
|
|
"type": "number"
|
|
},
|
|
"repo": {
|
|
"description": "Repository name",
|
|
"type": "string"
|
|
},
|
|
"reviewers": {
|
|
"description": "GitHub usernames or ORG/team-slug team reviewers to request reviews from",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"state": {
|
|
"description": "New state",
|
|
"enum": [
|
|
"open",
|
|
"closed"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"title": {
|
|
"description": "New title",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"owner",
|
|
"repo",
|
|
"pullNumber"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"name": "update_pull_request"
|
|
} |