Setup
To use this toolkit, you will need to get a token as explained in the Slack API docs. Once you’ve received a SLACK_USER_TOKEN, you can input it as an environment variable below.Installation
This toolkit lives in thelangchain-community
package. We will also need the Slack SDK:
Instantiation
Now we can instantiate our toolkit:Tools
View available tools:Use within an agent
Let’s equip an agent with the Slack toolkit and query for information about a channel.API reference
For detailed documentation of allSlackToolkit
features and configurations head to the API reference.