Skip to content

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

Draft
anubhav756 wants to merge 4 commits into
mainfrom
anubhav-state-lc
Draft

fix(toolbox-langchain): Expose auth requirements from underlying core tool#292
anubhav756 wants to merge 4 commits into
mainfrom
anubhav-state-lc

Conversation

@anubhav756

@anubhav756 anubhav756 commented Jun 19, 2025

Copy link
Copy Markdown
Contributor

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 anubhav756 self-assigned this Jun 19, 2025
@anubhav756 anubhav756 force-pushed the anubhav-state-lc branch 2 times, most recently from 1cef9c2 to 11f4718 Compare June 19, 2025 14:31
@anubhav756 anubhav756 changed the title fix(toolbox-langchain): Expose internal state for better debuggability fix(toolbox-langchain): Expose auth requirements from core tool Jun 19, 2025
@anubhav756 anubhav756 changed the title fix(toolbox-langchain): Expose auth requirements from core tool fix(toolbox-langchain): Expose auth requirements from underlying core tool Jun 19, 2025
@anubhav756 anubhav756 marked this pull request as ready for review June 19, 2025 15:26
@anubhav756 anubhav756 requested review from a team, kurtisvg and twishabansal June 19, 2025 15:26
@twishabansal

Copy link
Copy Markdown
Contributor

Do we plan to add tests for this?

Base automatically changed from anubhav-state to main June 24, 2025 11:50
@anubhav756

Copy link
Copy Markdown
Contributor Author

Do we plan to add tests for this?

Added. Thanks for pointing that out.

Comment thread packages/toolbox-langchain/src/toolbox_langchain/tools.py
@anubhav756 anubhav756 requested a review from kurtisvg July 2, 2025 13:51
@anubhav756 anubhav756 force-pushed the anubhav-state-lc branch 3 times, most recently from 34497fd to 20b7968 Compare July 7, 2025 06:59
@anubhav756 anubhav756 marked this pull request as draft September 8, 2025 06:47
@anubhav756 anubhav756 removed their assignment Jun 11, 2026
@anubhav756 anubhav756 added the priority: p3 Desirable enhancement or fix. May not be included in next release. label Jun 11, 2026
@twishabansal twishabansal removed their request for review June 11, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: p3 Desirable enhancement or fix. May not be included in next release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants