Skip to content

Commit b5a0165

Browse files
committed
Add empty JSON schema for GetMe tool
1 parent 8678fab commit b5a0165

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/github/context_tools.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ func GetMe(getClient GetClientFn, t translations.TranslationHelperFunc) (mcp.Too
4343
Title: t("TOOL_GET_ME_USER_TITLE", "Get my user profile"),
4444
ReadOnlyHint: true,
4545
},
46+
InputSchema: &jsonschema.Schema{
47+
Type: "object",
48+
},
4649
},
4750
mcp.ToolHandlerFor[map[string]any, any](func(ctx context.Context, _ *mcp.CallToolRequest, _ map[string]any) (*mcp.CallToolResult, any, error) {
4851
client, err := getClient(ctx)

0 commit comments

Comments
 (0)