discord_read_messages
Fetch recent messages from a Discord channel by channel ID. Returns JSON with author, content, and timestamp for up to 100 messages.
Instructions
Read recent messages from a Discord channel.
Args:
channel_id: The ID of the channel to read messages from.
limit: Number of recent messages to return (default: 50, max: 100).
Returns:
JSON array of message objects with author, content, and timestamp.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"channel_id": "<channel_id>"
},
"name": "discord_read_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of recent messages to retrieve. Default is 50, maximum is 100. | |
| channel_id | Yes | The ID of the Discord channel to read messages from. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |