Tools
Composio Tool
The ComposioTool
is a wrapper around the composio set of tools and gives your agent access to a wide variety of tools from the Composio SDK.
ComposioTool
Description
This tools is a wrapper around the composio set of tools 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:
after the installation is complete, either run composio login
or export your composio API key as COMPOSIO_API_KEY
.
Example
The following example demonstrates how to initialize the tool and execute a github action:
- Initialize Composio tools
Code
If you don’t know what action you want to use, use from_app
and tags
filter to get relevant actions
Code
or use use_case
to search relevant actions
Code
- Define agent
Code
- Execute task
Code
- More detailed list of tools can be found here
Was this page helpful?