Files
github--github-mcp-server/pkg/github/__toolsnaps__/label_write.snap
Adam Holt 60aef5d2e3 Convert to modelcontextprotocol/go-sdk (#1428)
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>
2025-12-01 14:30:59 +01:00

51 lines
1.4 KiB
Plaintext

{
"annotations": {
"title": "Write operations on repository labels."
},
"description": "Perform write operations on repository labels. To set labels on issues, use the 'update_issue' tool.",
"inputSchema": {
"type": "object",
"required": [
"method",
"owner",
"repo",
"name"
],
"properties": {
"color": {
"type": "string",
"description": "Label color as 6-character hex code without '#' prefix (e.g., 'f29513'). Required for 'create', optional for 'update'."
},
"description": {
"type": "string",
"description": "Label description text. Optional for 'create' and 'update'."
},
"method": {
"type": "string",
"description": "Operation to perform: 'create', 'update', or 'delete'",
"enum": [
"create",
"update",
"delete"
]
},
"name": {
"type": "string",
"description": "Label name - required for all operations"
},
"new_name": {
"type": "string",
"description": "New name for the label (used only with 'update' method to rename)"
},
"owner": {
"type": "string",
"description": "Repository owner (username or organization name)"
},
"repo": {
"type": "string",
"description": "Repository name"
}
}
},
"name": "label_write"
}