Skip to content

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

Prateek224b8d0eb9a0
diff --git a/python/composio/core/models/mcp.py b/python/composio/core/models/mcp.py
index 773ece1dd..be421e87c 100644
--- a/python/composio/core/models/mcp.py
+++ b/python/composio/core/models/mcp.py
@@ -9,7 +9,7 @@ from __future__ import annotations
import typing as t
import typing_extensions as te
-from composio_client import Omit
+from composio_client import omit
from composio_client.types.mcp.custom_create_response import CustomCreateResponse
from composio_client.types.tool_router_create_session_params import ConfigToolkit
@@ -189,7 +189,7 @@ class MCP(Resource):
auth_config_ids.append(toolkit_config["auth_config"])
# Use the allowed_tools parameter instead of individual toolkit configs
- custom_tools = allowed_tools if allowed_tools is not None else Omit
+ custom_tools = allowed_tools if allowed_tools is not None else omit
# Use the custom MCP create endpoint
response = self._client.mcp.custom.create(