mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-02 15:52:34 +00:00
feat: add composio CrewAI tool wrapper
This commit is contained in:
30
src/crewai_tools/tools/composio_tool/README.md
Normal file
30
src/crewai_tools/tools/composio_tool/README.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# ComposioTool Documentation
|
||||
|
||||
## Description
|
||||
|
||||
This tools is a wrapper around the composio toolset and gives your agent access to a wide variety of tools from the composio SDK.
|
||||
|
||||
## Installation
|
||||
|
||||
To incorporate this tool into your project, follow the installation instructions below:
|
||||
|
||||
```shell
|
||||
pip install composio-core
|
||||
pip install 'crewai[tools]'
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
The following example demonstrates how to initialize the tool and execute a mathematical operation:
|
||||
|
||||
```python
|
||||
|
||||
from composio import Action
|
||||
|
||||
from crewai_tools.tools.composio_tool.composio_tool import ComposioTool
|
||||
|
||||
tool = ComposioTool.from_tool(
|
||||
tool=Action.MATHEMATICAL_CALCULATOR,
|
||||
)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user