Skip to content

Conversation

jonathanfds
Copy link
Contributor

Tools annotations from the MCP Server are not set in the DynamicStructuredTool and are completely ignored.
This change will set the tools annotations within the metadata property.

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jun 23, 2025
@vercel
Copy link

vercel bot commented Jun 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchainjs-docs ✅ Ready (Inspect) Visit Preview Jun 23, 2025 8:34pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ⬜️ Ignored (Inspect) Jun 23, 2025 8:34pm

@dosubot dosubot bot added the auto:nit Small modifications/deletions, fixes, deps or improvements to existing code or docs label Jun 23, 2025
@hntrl
Copy link
Member

hntrl commented Jun 26, 2025

This makes sense. Thanks for the PR @jonathanfds!

@hntrl hntrl merged commit 2c120a3 into langchain-ai:main Jun 26, 2025
25 checks passed
@jonathanfds jonathanfds deleted the add_annotation_in_metadata branch August 5, 2025 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto:nit Small modifications/deletions, fixes, deps or improvements to existing code or docs size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants