Tools Example
This example demonstrates how to use Composio SDK for tools.
Setup
-
Install dependencies:
pnpm install -
Configure environment:
cp .env.example .envThen edit
.envand add your API keys:COMPOSIO_API_KEY: Get it from Composio Dashboard
Running the Example
# Run the example
pnpm start
# Run in development mode (with file watching)
pnpm dev
What This Example Does
- Initializes Composio SDK
- Fetches available tools
- Demonstrates basic usage patterns
Customization
Edit src/index.ts to:
- Add specific apps you want to integrate with
- Implement your business logic
- Add error handling and logging
Related Examples
- OpenAI Example - Shows integration with OpenAI
- LangChain Example - Shows integration with LangChain
- More Examples - Browse all available examples