Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ComposioHQ/composio
/ tool
Method
tool
python/composio/core/models/custom_tool.py:414–414 ·
view source on GitHub ↗
(self, fn: t.Callable[..., t.Any], /)
Source
from the content-addressed store, hash-verified
412
413
@t.overload
414
def
tool(self, fn: t.Callable[..., t.Any], /) -> CustomTool: ...
415
416
@t.overload
417
def
tool(
Callers
nothing calls this directly
Calls
4
_infer_tool_from_function
Function · 0.85
_get_caller_locals
Function · 0.85
_validate_slug_length
Function · 0.85
append
Method · 0.65
Tested by
no test coverage detected