Files
github--github-mcp-server/pkg/github/__toolsnaps__/delete_file.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

40 lines
856 B
Plaintext

{
"annotations": {
"destructiveHint": true,
"title": "Delete file"
},
"description": "Delete a file from a GitHub repository",
"inputSchema": {
"type": "object",
"required": [
"owner",
"repo",
"path",
"message",
"branch"
],
"properties": {
"branch": {
"type": "string",
"description": "Branch to delete the file from"
},
"message": {
"type": "string",
"description": "Commit message"
},
"owner": {
"type": "string",
"description": "Repository owner (username or organization)"
},
"path": {
"type": "string",
"description": "Path to the file to delete"
},
"repo": {
"type": "string",
"description": "Repository name"
}
}
},
"name": "delete_file"
}