You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the validation logic in MethodToolCallback to check if a ToolContext argument is defined by the method but not provided in the request.
This would ensure that methods that expect a ToolContext parameter receive one.
Current logic is checking if a ToolContext is provided but not supported by the method (e.g. the reverse)
The text was updated successfully, but these errors were encountered:
Change the validation logic in
MethodToolCallback
to check if aToolContext
argument is defined by the method but not provided in the request.This would ensure that methods that expect a ToolContext parameter receive one.
Current logic is checking if a ToolContext is provided but not supported by the method (e.g. the reverse)
The text was updated successfully, but these errors were encountered: