PyGithub MCP Server

update_issue

Update an existing issue.

Args: params: Parameters for updating an issue including: - owner: Repository owner (user or organization) - repo: Repository name - issue_number: Issue number to update - title: New title (optional) - body: New description (optional) - state: New state (optional) - labels: New labels (optional) - assignees: New assignees (optional) - milestone: New milestone number (optional) Returns: Updated issue details from GitHub API

Input Schema

NameRequiredDescriptionDefault
paramsYes

Input Schema (JSON Schema)

{ "$defs": { "UpdateIssueParams": { "description": "Parameters for updating an issue.", "properties": { "assignees": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "New assignees (list of usernames)", "title": "Assignees" }, "body": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "New description", "title": "Body" }, "issue_number": { "description": "Issue number to update", "title": "Issue Number", "type": "integer" }, "labels": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "New labels (list of label names)", "title": "Labels" }, "milestone": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "New milestone number (or None to clear)", "title": "Milestone" }, "owner": { "description": "Repository owner (username or organization)", "title": "Owner", "type": "string" }, "repo": { "description": "Repository name", "title": "Repo", "type": "string" }, "state": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "New state (open or closed)", "title": "State" }, "title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "New title", "title": "Title" } }, "required": [ "owner", "repo", "issue_number" ], "title": "UpdateIssueParams", "type": "object" } }, "properties": { "params": { "$ref": "#/$defs/UpdateIssueParams" } }, "required": [ "params" ], "title": "update_issueArguments", "type": "object" }