Skip to content

Commit 576f326

Browse files
committed
sha arg prompt as required if updating file
1 parent 0cf70eb commit 576f326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/github/repositories.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ func CreateOrUpdateFile(getClient GetClientFn, t translations.TranslationHelperF
288288
mcp.Description("Branch to create/update the file in"),
289289
),
290290
mcp.WithString("sha",
291-
mcp.Description("SHA of file being replaced (for updates)"),
291+
mcp.Description("Required if you are updating an existing file. The blob SHA of the file being replaced."),
292292
),
293293
),
294294
func(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error) {

0 commit comments

Comments
 (0)