60aef5d2e3
Move from `mark3labs/mcp-go` to `modelcontextprotocol/go-sdk`. This is mostly focused on updating tool schema and tool handler signatures, along with any associated internal changes related to those changes. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: omgitsads <4619+omgitsads@users.noreply.github.com> Co-authored-by: LuluBeatson <lulubeatson@github.com> Co-authored-by: Lulu <59149422+LuluBeatson@users.noreply.github.com> Co-authored-by: SamMorrowDrums <4811358+SamMorrowDrums@users.noreply.github.com> Co-authored-by: Sam Morrow <info@sam-morrow.com>
88 lines
2.3 KiB
Plaintext
88 lines
2.3 KiB
Plaintext
{
|
|
"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": "Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'."
|
|
},
|
|
"issue_number": {
|
|
"type": "number",
|
|
"description": "Issue number 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": "Milestone number"
|
|
},
|
|
"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"
|
|
} |