Skip to content

Commit afc455d

Browse files
committed
fix schema issues
1 parent 42ada5f commit afc455d

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
@@ -112,7 +112,6 @@ func GetTeams(getClient GetClientFn, getGQLClient GetGQLClientFn, t translations
112112
Title: t("TOOL_GET_TEAMS_TITLE", "Get teams"),
113113
ReadOnlyHint: true,
114114
},
115-
InputSchema: &jsonschema.Schema{},
116115
},
117116
func(ctx context.Context, request *mcp.CallToolRequest, args map[string]any) (*mcp.CallToolResult, any, error) {
118117
user, err := OptionalParam[string](args, "user")
@@ -199,6 +198,7 @@ func GetTeamMembers(getGQLClient GetGQLClientFn, t translations.TranslationHelpe
199198
ReadOnlyHint: true,
200199
},
201200
InputSchema: &jsonschema.Schema{
201+
Type: "object",
202202
Properties: map[string]*jsonschema.Schema{
203203
"org": {
204204
Type: "string",

0 commit comments

Comments
 (0)