Skip to content

Commit 8a30509

Browse files
committed
remove reason param for get_me
1 parent 3730b84 commit 8a30509

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
550550
<summary>Context</summary>
551551

552552
- **get_me** - Get my user profile
553-
- `reason`: Optional: the reason for requesting the user information (string, optional)
553+
- No parameters required
554554

555555
</details>
556556

pkg/github/context_tools.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ func GetMe(getClient GetClientFn, t translations.TranslationHelperFunc) (mcp.Too
4040
Title: t("TOOL_GET_ME_USER_TITLE", "Get my user profile"),
4141
ReadOnlyHint: ToBoolPtr(true),
4242
}),
43-
mcp.WithString("reason",
44-
mcp.Description("Optional: the reason for requesting the user information"),
45-
),
4643
)
4744

4845
type args struct{}

0 commit comments

Comments
 (0)