-
Couldn't load subscription status.
- Fork 42
get all tool data #121
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
get all tool data #121
Conversation
| "types": "./dist/esm/mcp/index.d.ts", | ||
| "import": "./dist/esm/mcp/index.js", | ||
| "require": "./dist/cjs/mcp/index.js", | ||
| "types": "./dist/esm/mcp/index.d.ts" | ||
| "require": "./dist/cjs/mcp/index.js" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what changed? the order? does it even matter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| const manageTool = new ManageToolsTool(); | ||
| manageTool.setToolkitManager(this.dynamicToolManager); | ||
| this.registerSingleTool(manageTool as Tool<any, any>); | ||
| this.managementTool = manageTool as Tool<any, any>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this casting is a bit smelly, but not urgent for now :)
| const mcpTool = this.registerTool( | ||
| tool.name, | ||
| { | ||
| ...tool, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yayyyy

No description provided.