Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita3bf558

Browse files
alter the description of get-me to reduce redundant repeat calls
1 parent22d080b commita3bf558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎pkg/github/context_tools.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
// GetMe creates a tool to get details of the authenticated user.
1616
funcGetMe(getClientGetClientFn,t translations.TranslationHelperFunc) (tool mcp.Tool,handler server.ToolHandlerFunc) {
1717
returnmcp.NewTool("get_me",
18-
mcp.WithDescription(t("TOOL_GET_ME_DESCRIPTION","Get details of the authenticated GitHub user. Use this when a request include\"me\",\"my\"...")),
18+
mcp.WithDescription(t("TOOL_GET_ME_DESCRIPTION","Get details of the authenticated GitHub user. Use this when a request include\"me\",\"my\"... the output will not change unless the user changes their profile, so only call this once.")),
1919
mcp.WithToolAnnotation(mcp.ToolAnnotation{
2020
Title:t("TOOL_GET_ME_USER_TITLE","Get my user profile"),
2121
ReadOnlyHint:toBoolPtr(true),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp