Integrations

Get Discord history

Get message history from a Discord channel, thread, or DM.

When called from a Discord conversation, the tool description includes the current channel_id, thread_id, and guild_id. These are used as defaults when not specified.

Parameters#

channel_idstringdefault: ""

Discord channel, thread, or DM ID to read from. Omit to use the current conversation's channel/thread.

aroundstringdefault: ""

Message ID — fetch messages around this message. Mutually exclusive with before/after.

beforestringdefault: ""

Message ID — fetch messages older than this. Mutually exclusive with around/after.

afterstringdefault: ""

Message ID — fetch messages newer than this. Mutually exclusive with around/before.

limitnumberdefault: 50

Number of messages to return (1–100, default 50).