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.

fix(python): update stale docstrings to reference decorator API

Dhawal Upadhyaya178ecdceb75
diff --git a/python/composio/core/models/custom_tool_types.py b/python/composio/core/models/custom_tool_types.py
index ae01df870..97d85b02b 100644
--- a/python/composio/core/models/custom_tool_types.py
+++ b/python/composio/core/models/custom_tool_types.py
@@ -81,7 +81,7 @@ class SessionContext(te.Protocol):
@dataclass(frozen=True)
class CustomTool:
- """Custom tool definition returned from ``experimental_create_tool()``.
+ """Custom tool definition returned from ``@composio.experimental.tool()``.
Pass to ``composio.create(user_id, experimental={"custom_tools": [...]})``
to bind to a session.
@@ -99,7 +99,7 @@ class CustomTool:
@dataclass(frozen=True)
class CustomToolkit:
- """Custom toolkit definition returned from ``experimental_create_toolkit()``.
+ """Custom toolkit definition returned from ``composio.experimental.Toolkit()``.
Pass to ``composio.create(user_id, experimental={"custom_toolkits": [...]})``
to bind to a session.