Prerequisites
Example
The following agent sends a message to a Slack channel, lists channels, and retrieves message history. The messaging, channel, and file tools are enabled by default, soSlackTools() needs no configuration.
Toolkit Params
When you do not pass
instructions, SlackTools builds usage guidance from the enabled tools (when to reply in a thread, which search to use) and adds it to the agent’s system prompt automatically.Toolkit Functions
SlackTools also exposes
download_file_bytes(file_id) for programmatic use. It returns raw bytes and is not registered as an agent tool.
Developer Resources
Examples
Tool configurations: all tools, a subset, and read-only.
Slack Interface
Streaming, sessions, file handling, and behavior details.
Source Code
View the SlackTools implementation on GitHub.