@devries-cameron20 / composio Mirror · read-only / commits / 392c1e47a
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 07:15 UTC

docs: update documentation for new changelog entries

github-actions[bot] committed Oct 28, 2026 at 06:38 UTC 392c1e47a6de8693c1e72d9bdd31aa40df9d36b6
1 file changed +7 -1
docs/content/docs/providers/google.mdx
+7 -1
@@ -17,7 +17,13 @@ In Python, the Gemini provider (`composio_gemini`) wraps Composio tools as typed
17
18 Object arguments that declare no properties preserve arbitrary nested keys in both providers. The TypeScript provider also adds `type: "object"` to schema nodes that declare `properties` without a type, which is the shape Gemini expects for object schemas.
19
20 -If you use the Python `composio_google` provider with a manual Gemini loop, pass the Session to `composio.provider.execute_tool_call(session=session, function_call=function_call)` or `composio.provider.handle_response(session=session, response=response)`. Both helpers execute through that Session. Calls with `user_id` use direct execution for tools fetched with `tools.get()`. The `composio_gemini` callables in the example below already carry the Session. If you turn off Automatic Function Calling in `composio_gemini`, pass the Session the same way: `composio.provider.handle_response(response, session=session)`.
20 +If you use the Python `composio_google` provider with a manual Gemini loop, pass the Session to `composio.provider.execute_tool_call(session=session, function_call=function_call)` or `composio.provider.handle_response(session=session, response=response)`. Both helpers execute through that Session. Calls with `user_id` use direct execution for tools fetched with `tools.get()`. The `composio_gemini` callables in the example below already carry the Session.
21 +
22 +If you turn off Automatic Function Calling in `composio_gemini`, pass `session=session` to `composio.provider.handle_response(response, session=session)` for tools fetched with `session.tools()`. For tools fetched with `composio.tools.get(user_id="alice", ...)`, use `composio.provider.handle_response(response, user_id="alice")`. Each call uses the selected fetch's schema validation (including schema modifiers) and execution modifiers. Session calls also preserve session routing, so local custom tools in a `COMPOSIO_MULTI_EXECUTE_TOOL` batch run in process.
23 +
24 +<Callout type="warn">
25 +You can omit `user_id` and `session` from `GeminiProvider.handle_response` only when the provider has wrapped tools for a single user or session. Once it has wrapped tools for more than one, omitting both raises `ValueError` and executes nothing. Always pass the matching identity when you share a `Composio` instance across users or sessions. Automatic Function Calling already uses callables bound to their user or session.
26 +</Callout>
27
28 <Steps>
29 <Step>