composio
composio copied to clipboard
More flexible providers
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.
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.