Search documentation

Search guides, connectors and tools

Slack

Slack workspace connector to browse channels, read conversations and threads, post messages and replies, react, look up members and share files.

slackOAuth10 tools

Tools

Ask an agent for what you need in plain language — it picks the right tool itself. You can also limit which of these an agent may use, and require your approval before any of them runs.

List Channels

listChannels€0.01 per call

List the channels of the Slack workspace with their ids, names, topics and whether the bot is a member. The bot can only read or post in channels where isMember is true; ask a workspace member to run "/invite @<app>" in a channel to add it.

ParameterTypeDescription
types"public" | "private" | "all"Channel kinds to list: public, private (only those the bot is a member of) or all (default).
excludeArchivedbooleanSkip archived channels (default true).
limitintegerItems per page (1-200); defaults to 50.
cursorstringCursor from a previous call's nextCursor to fetch the next page; omit for the first page.

Get Channel Info

getChannelInfo€0.01 per call

Get a Slack channel: name, topic, purpose, member count, whether it is private or archived and whether the bot is a member.

ParameterTypeDescription
channelIdrequiredstringSlack channel id (e.g. "C0123ABCDEF") as returned by listChannels.

Get Channel History

getChannelHistory€0.01 per call

Read the messages of a Slack channel the bot is a member of, newest first. Thread replies are not included: a message with replyCount > 0 is a thread parent, read it with getThreadReplies. Author ids (userId) are not resolved to names; use getUser or listUsers when names matter.

ParameterTypeDescription
channelIdrequiredstringSlack channel id (e.g. "C0123ABCDEF") as returned by listChannels.
oldeststringOnly messages after this point. A Slack message ts ("1700000000.123456") or an ISO-8601 date-time.
lateststringOnly messages before this point. A Slack message ts ("1700000000.123456") or an ISO-8601 date-time.
limitintegerItems per page (1-200); defaults to 50.
cursorstringCursor from a previous call's nextCursor to fetch the next page; omit for the first page.

Get Thread Replies

getThreadReplies€0.01 per call

Read a Slack thread: the parent message followed by its replies, oldest first. Author ids are not resolved to names; use getUser when names matter.

ParameterTypeDescription
channelIdrequiredstringSlack channel id (e.g. "C0123ABCDEF") as returned by listChannels.
threadTsrequiredstringts of the thread parent message (from getChannelHistory).
limitintegerItems per page (1-200); defaults to 50.
cursorstringCursor from a previous call's nextCursor to fetch the next page; omit for the first page.

Send Message

sendMessage€0.01 per call

Post a message to a Slack channel as the app, or reply in a thread when threadTs is given. The bot must be a member of the channel (see listChannels); if it is not, ask a workspace member to run "/invite @<app>" in the channel.

ParameterTypeDescription
channelIdrequiredstringSlack channel id (e.g. "C0123ABCDEF") as returned by listChannels.
textrequiredstringMessage text in Slack mrkdwn: *bold*, _italic_, ~strike~, `code`, ```code block```, > quote, <https://url|label>, <@U0123ABC> to mention a user, <#C0123ABC> to link a channel. Markdown headings, tables and ** are not supported.
threadTsstringReply in this thread (ts of the parent message); omit to post a new message.
unfurlLinksbooleanShow link previews (default true).

List Users

listUsers€0.01 per call

List the members and bots of the Slack workspace with their ids, handles, names, emails and time zones.

ParameterTypeDescription
includeDeletedbooleanInclude deactivated accounts (default false).
limitintegerItems per page (1-200); defaults to 50.
cursorstringCursor from a previous call's nextCursor to fetch the next page; omit for the first page.

Get User

getUser€0.01 per call

Get a Slack workspace member by id: handle, real and display name, email, title and time zone.

ParameterTypeDescription
userIdrequiredstringSlack user id (e.g. "U0123ABCDEF") as returned by listUsers or in messages.

Add Reaction

addReaction€0.01 per call

Add an emoji reaction to a Slack message as the app.

ParameterTypeDescription
channelIdrequiredstringSlack channel id (e.g. "C0123ABCDEF") as returned by listChannels.
messageTsrequiredstringts of the message to react to.
emojirequiredstringEmoji name without colons, e.g. "thumbsup", "white_check_mark", "eyes".

Upload File

uploadFile€0.01 per call

Share a file from agent storage in a Slack channel (or thread) as the app, optionally with a message. The bot must be a member of the channel.

ParameterTypeDescription
filePathrequiredstringAbsolute path to the file in agent storage (e.g. "/chats/<chatId>/generated/call_abc123.png"). Use the exact path reported by the tool that produced the file.
channelIdrequiredstringSlack channel id (e.g. "C0123ABCDEF") as returned by listChannels.
threadTsstringShare the file as a reply in this thread; omit to post it to the channel.
filenamestringOverride the file name shown in Slack.
titlestringTitle shown above the file in Slack.
initialCommentstringMessage text (mrkdwn) posted together with the file.

List Files

listFiles€0.01 per call

List files shared in the Slack workspace, newest first, optionally filtered by channel, uploader or date range. Only files in channels the bot is a member of are visible.

ParameterTypeDescription
channelIdstringOnly files shared in this channel.
userIdstringOnly files uploaded by this user.
fromstringOnly files created at or after this ISO-8601 date-time.
tostringOnly files created at or before this ISO-8601 date-time.
pageintegerPage number (1-based); this tool pages by number, not by cursor.
countintegerFiles per page (1-100); defaults to 25.

Permissions

You choose what to grant on the provider's consent screen. A tool is only available to your agents if you granted the permission it needs, so granting less simply means fewer tools.

  • channels:history
  • channels:read
  • chat:write
  • files:read
  • files:write
  • groups:history
  • groups:read
  • reactions:write
  • users:read