Skip to content

Conversation

@Eddydpyl
Copy link
Contributor

@Eddydpyl Eddydpyl commented Oct 7, 2025

With this, you can now specify what connected_account_id to use in function calls made from providers. For example, if a user has multiple connected accounts for Gmail, it's now possible to choose which one to use for the tool calls.

@Eddydpyl Eddydpyl requested a review from haxzie as a code owner October 7, 2025 09:49
@macroscopeapp
Copy link

macroscopeapp bot commented Nov 6, 2025

Allow provider execute functions to accept and forward arbitrary keyword arguments for more flexible providers in composio.core.models.tools.Tools._wrap_execute_tool and provider execute protocols

Update the execute wrapper to forward **kwargs with per-call overrides for modifiers and user_id in tools.py, and expand provider execute protocols to include **kwargs in agentic.py and none_agentic.py.

📍Where to Start

Start with Tools._wrap_execute_tool in tools.py to see the new wrapper and kwargs handling, then review the updated execute protocol signatures in agentic.py and none_agentic.py.


Macroscope summarized 32c06e3.

Intelligently merged upstream changes while preserving local enhancements:
- Kept flexible wrapper implementation in _wrap_execute_tool that allows kwargs to override defaults
- Preserved ability to pass additional kwargs through to execute method
- Maintained upstream's set_execute_tool_fn initialization in __init__
- Adopted upstream's removal of NoneAgenticProviderExecuteFn from NonAgenticProvider
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant