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

fix(toolbox-llamaindex): Align `ToolboxTool` properties for consistency and debuggability

Open anubhav756 opened this issue 1 year ago • 3 comments

Summary

This PR refactors the ToolboxTool in toolbox-llamaindex to align its public API with the toolbox-langchain package (#294).

This provides a consistent developer experience across both ecosystems and also improves debuggability by making the tool's internal state transparent and inspectable.

Changes

The following read-only properties are now publicly exposed on the ToolboxTool, mirroring the core/langchain interface:

  • _bound_params
  • _required_authn_params
  • _required_authz_tokens
  • _auth_service_token_getters
  • _client_headers

anubhav756 avatar Jun 19 '25 13:06 anubhav756

/gcbrun

anubhav756 avatar Jun 19 '25 14: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