mcp-toolbox-sdk-python icon indicating copy to clipboard operation
mcp-toolbox-sdk-python copied to clipboard

fix(toolbox-langchain): Expose auth requirements from underlying core tool

Open anubhav756 opened this issue 1 year ago • 2 comments

This PR exposes the authentication and authorization requirements from the underlying toolbox-core's ToolboxTool as properties on the toolbox-langchain's ToolboxTool wrapper.

This change forwards the properties introduced in #294, making them accessible at the LangChain integration layer. It is a key prerequisite for implementing self-authenticating tools (#291), as it allows higher-level abstractions to inspect a tool's auth needs directly.

anubhav756 avatar Jun 19 '25 13:06 anubhav756

Do we plan to add tests for this?

twishabansal avatar Jun 23 '25 06:06 twishabansal

Do we plan to add tests for this?

Added. Thanks for pointing that out.

anubhav756 avatar Jun 24 '25 12:06 anubhav756