Skip to content

Commit c021c4d

Browse files
committed
update path description to use "/" for root
1 parent 89bb928 commit c021c4d

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
@@ -464,7 +464,7 @@ func GetFileContents(getClient GetClientFn, getRawClient raw.GetRawClientFn, t t
464464
),
465465
mcp.WithString("path",
466466
mcp.Required(),
467-
mcp.Description("Path to file/directory (directories must end with a slash '/')"),
467+
mcp.Description("Path to file/directory. Directories, including root, must end with '/'"),
468468
),
469469
mcp.WithString("ref",
470470
mcp.Description("Accepts optional git refs such as `refs/tags/{tag}`, `refs/heads/{branch}` or `refs/pull/{pr_number}/head`"),

0 commit comments

Comments
 (0)