Skip to content

Allow MCP toolcallback to use ToolContext #3925

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

ilayaperumalg
Copy link
Member

  • Update Sync/Async toolCallbacks to pass the toolcontext via MCP CallToolRequest's meta argument
  • Add tests to verify the MCP CallToolRequest's meta argument is updated with ToolContext

Fixes #3505

 - Update Sync/Async toolCallbacks to pass the toolcontext via MCP CallToolRequest's meta argument
 - Add tests to verify the MCP CallToolRequest's meta argument is updated with ToolContext

Fixes spring-projects#3505

Signed-off-by: Ilayaperumal Gopinathan <ilayaperumal.gopinathan@broadcom.com>
@ilayaperumalg
Copy link
Member Author

Closing this in favour of #3831

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ToolContext is not supported by the MCP tools
2 participants