Skip to content
Discussion options

You must be logged in to vote

Thanks for your answer.

Then what's the differents between the dynamic tools and static tools? I want to create a unified interface to register local tools and MCP tools, but these different tools have almost entirely different registration methods, which leaves me confused.

Dynamic tools are selected using similarity search from a vector store, static tools will always be in the context.

If you want to use MCP tools pulled from the rmcp integration, you need to create a ToolSet from them (likely via ToolSet::from_tools()), then add them in using AgentBuilder::dynamic_tools().

The agent tool-building stuff could probably use some love in terms of the documentation/having helper methods …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Abel2333
Comment options

@joshua-mo-143
Comment options

Answer selected by Abel2333
@Abel2333
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants