fetch_messages
Retrieve recent Discord messages from a specified channel, ordered oldest first. Works around Discord's API limitations by fetching history directly.
Instructions
Fetch recent Discord channel history, oldest first. Discord's bot API does not expose full search.
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": "<channel>"
},
"name": "fetch_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| channel | Yes |