@devries-cameron20 / composio-1 / commits / 224b8d0eb
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.

Add omit back

Prateek committed Oct 1, 2025 at 14:37 UTC 224b8d0eb9a0356d01b659e4c55379798fb1c4be
1 file changed +2 -2
python/composio/core/models/mcp.py
+2 -2
@@ -9,7 +9,7 @@ from __future__ import annotations
9 import typing as t
10
11 import typing_extensions as te
12 -from composio_client import Omit
12 +from composio_client import omit
13 from composio_client.types.mcp.custom_create_response import CustomCreateResponse
14 from composio_client.types.tool_router_create_session_params import ConfigToolkit
15
@@ -189,7 +189,7 @@ class MCP(Resource):
189 auth_config_ids.append(toolkit_config["auth_config"])
190
191 # Use the allowed_tools parameter instead of individual toolkit configs
192 - custom_tools = allowed_tools if allowed_tools is not None else Omit
192 + custom_tools = allowed_tools if allowed_tools is not None else omit
193
194 # Use the custom MCP create endpoint
195 response = self._client.mcp.custom.create(