-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
@blessings012115-cmyk
Description
I have the same problem; can you handle the string type access on the mcp side and try to fix;
pullNumber, err := RequiredInt(request, "pullNumber")
if err != nil {
pullNumberStr, err := requiredParamstring
if err != nil {
return mcp.NewToolResultError(err.Error()), nil
}
pullNumber, err = strconv.Atoi(pullNumberStr)
if err != nil {
return mcp.NewToolResultError(err.Error()), nil
}
}
Originally posted by @421775487 in #533