From 68648ba8a57303838410d6ef8760d36a54a02421 Mon Sep 17 00:00:00 2001 From: Toby Padilla Date: Thu, 13 Mar 2025 16:44:26 -0600 Subject: [PATCH] fix: added "reason" argument to get_me function --- pkg/github/server.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/github/server.go b/pkg/github/server.go index 2c0f3a05e..e780c8e74 100644 --- a/pkg/github/server.go +++ b/pkg/github/server.go @@ -58,6 +58,9 @@ func NewServer(client *github.Client) *server.MCPServer { func getMe(client *github.Client) (tool mcp.Tool, handler server.ToolHandlerFunc) { return mcp.NewTool("get_me", mcp.WithDescription("Get details of the authenticated user."), + mcp.WithString("reason", + mcp.Description("Optional: reason the session was created"), + ), ), func(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error) { user, resp, err := client.Users.Get(ctx, "") pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy