All three actions need a
discord integration. See Configuration Reference for setup details.discord/sendmessage
Sends a message to a Discord channel, thread, or person.Discord Bot
The Discord integration to act as. It carries the bot token and names the server.Content
The message to send.Channel ID
The channel to post to.User ID
Send a direct message to this person instead of posting to a channel.Thread ID
Send to an existing thread.Create Thread
Start a new thread for this message.Thread Name
The name for the new thread. Required whencreate_thread is true.
Reply To
The id of a message to reply to.Mentions
Who this message is allowed to notify.
Allowed values:
none, reply, users, roles, everyone
Split
Post text longer than Discord’s 2000-character limit as several messages instead of failing.Output
{{ .step_id }} is an object:
Example
Reply in a channel:discord/readmessages
Reads a channel’s recent history as a transcript an agent can read.Discord Bot
The Discord integration to act as. It carries the bot token and names the server.Channel ID
The channel to read.Limit
How many messages to read, from 1 to 100.Before / After / Around
Read relative to a message id: what came before it, what came after it, or what surrounds it.Output
{{ .step_id }} is an object:
Example
discord/readguild
Reads the integration’s Discord server: its details, channels, roles, or members.Discord Bot
The Discord integration to act as. It carries the bot token and names the server.Resource
What to read about the server.
Allowed values:
guild, channels, roles, member, member_search, members
User ID
The member to look up. Required for themember resource.
Query
The start of a username or nickname. Required formember_search.
Limit
How many members to return: 1 to 1000 formember_search, 1 to 5000 for members.
Output
Every resource returns asummary string — the result rendered as text a prompt can read — alongside structured fields. What else is present depends on resource:
Example
Look up who sent a message:Next Steps
AI Agents
Give an agent Discord actions as tools.
GitHub
Read and comment on pull requests.
Communication
Send email instead.
Actions Overview
Learn the fundamentals of ServFlow actions.