- Notifications
You must be signed in to change notification settings - Fork3.1k
Migrate issues toolset to modelcontextprotocol/go-sdk#1440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Changes fromall commits
7480a0916a69cfa4e8f7bd8d4c568d9b818f3793e21b1c40b541e4ba7ba9cc70ffc2749aa5576e7b275ac2b379cFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,35 +1,34 @@ | ||
| { | ||
| "annotations": { | ||
| "title": "Add comment to issue" | ||
| }, | ||
| "description": "Add a comment to a specific issue in a GitHub repository. Use this tool to add comments to pull requests as well (in this case pass pull request number as issue_number), but only if user is not asking specifically to add review comments.", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner", | ||
| "repo", | ||
| "issue_number", | ||
| "body" | ||
| ], | ||
| "properties": { | ||
| "body": { | ||
| "type": "string", | ||
| "description": "Comment content" | ||
| }, | ||
| "issue_number": { | ||
| "type": "number", | ||
| "description": "Issuenumber to comment on" | ||
| }, | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "Repository owner" | ||
Collaborator There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Are these toolsnap ordering changes deterministic? As long as this is a one-off churn it's all good. Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Will take a look and confirm! | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "Repository name" | ||
| } | ||
| } | ||
| }, | ||
| "name": "add_issue_comment" | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,31 +1,30 @@ | ||
| { | ||
| "annotations": { | ||
| "idempotentHint": true, | ||
| "title": "Assign Copilot to issue" | ||
| }, | ||
| "description": "Assign Copilot to a specific issue in a GitHub repository.\n\nThis tool can help with the following outcomes:\n- a Pull Request created with source code changes to resolve the issue\n\n\nMore information can be found at:\n- https://docs.github.com/en/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot\n", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner", | ||
| "repo", | ||
| "issueNumber" | ||
| ], | ||
| "properties": { | ||
| "issueNumber": { | ||
| "type": "number", | ||
| "description": "Issuenumber" | ||
| }, | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "Repository owner" | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "Repository name" | ||
| } | ||
| } | ||
| }, | ||
| "name": "assign_copilot_to_issue" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,52 +1,52 @@ | ||
| { | ||
| "annotations": { | ||
| "readOnlyHint":true, | ||
| "title":"Get issue details" | ||
| }, | ||
| "description": "Get information about a specific issue in a GitHub repository.", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "method", | ||
| "owner", | ||
| "repo", | ||
| "issue_number" | ||
| ], | ||
| "properties": { | ||
| "issue_number": { | ||
| "type": "number", | ||
| "description": "Thenumber of the issue" | ||
| }, | ||
| "method": { | ||
| "type": "string", | ||
| "description": "The read operation to perform on a single issue.\nOptions are:\n1. get - Get details of a specific issue.\n2. get_comments - Get issue comments.\n3. get_sub_issues - Get sub-issues of the issue.\n4. get_labels - Get labels assigned to the issue.\n", | ||
| "enum": [ | ||
| "get", | ||
| "get_comments", | ||
| "get_sub_issues", | ||
| "get_labels" | ||
| ] | ||
| }, | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "The owner of the repository" | ||
| }, | ||
| "page": { | ||
| "type": "number", | ||
| "description": "Page number for pagination (min 1)", | ||
| "minimum": 1 | ||
| }, | ||
| "perPage": { | ||
| "type": "number", | ||
| "description": "Results per page for pagination (min 1, max 100)", | ||
| "minimum": 1, | ||
| "maximum":100 | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "The name of the repository" | ||
| } | ||
| } | ||
| }, | ||
| "name": "issue_read" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,89 +1,88 @@ | ||
| { | ||
| "annotations": { | ||
| "title": "Create or update issue." | ||
| }, | ||
| "description": "Create a new or update an existing issue in a GitHub repository.", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "method", | ||
| "owner", | ||
| "repo" | ||
| ], | ||
| "properties": { | ||
| "assignees": { | ||
| "type": "array", | ||
| "description": "Usernames to assign to this issue", | ||
| "items": { | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "body": { | ||
| "type": "string", | ||
| "description": "Issue body content" | ||
| }, | ||
| "duplicate_of": { | ||
| "type": "number", | ||
| "description": "Issuenumber that this issue is a duplicate of. Only used when state_reason is 'duplicate'." | ||
| }, | ||
| "issue_number": { | ||
| "type": "number", | ||
| "description": "Issuenumber to update" | ||
| }, | ||
| "labels": { | ||
| "type": "array", | ||
| "description": "Labels to apply to this issue", | ||
| "items": { | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "method": { | ||
| "type": "string", | ||
| "description": "Write operation to perform on a single issue.\nOptions are:\n- 'create' - creates a new issue.\n- 'update' - updates an existing issue.\n", | ||
| "enum": [ | ||
| "create", | ||
| "update" | ||
| ] | ||
| }, | ||
| "milestone": { | ||
| "type": "number", | ||
| "description": "Milestonenumber" | ||
| }, | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "Repository owner" | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "Repository name" | ||
| }, | ||
| "state": { | ||
| "type": "string", | ||
| "description": "New state", | ||
| "enum": [ | ||
| "open", | ||
| "closed" | ||
| ] | ||
| }, | ||
| "state_reason": { | ||
| "type": "string", | ||
| "description": "Reason for the state change. Ignored unless state is changed.", | ||
| "enum": [ | ||
| "completed", | ||
| "not_planned", | ||
| "duplicate" | ||
| ] | ||
| }, | ||
| "title": { | ||
| "type": "string", | ||
| "description": "Issue title" | ||
| }, | ||
| "type": { | ||
| "type": "string", | ||
| "description": "Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter." | ||
| } | ||
| } | ||
| }, | ||
| "name": "issue_write" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,20 @@ | ||
| { | ||
| "annotations": { | ||
| "readOnlyHint":true, | ||
| "title":"List available issue types" | ||
| }, | ||
| "description": "List supported issue types for repository owner (organization).", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner" | ||
| ], | ||
| "properties": { | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "The organization owner of the repository" | ||
| } | ||
| } | ||
| }, | ||
| "name": "list_issue_types" | ||
| } |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.