discord_search_messages
Search Discord messages by text query, with optional filters for guild, channel, or author.
Instructions
Search messages in a guild (set guildId) or a DM/channel (set channelId).
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": {
"query": "<query>"
},
"name": "discord_search_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | Text to search for | |
| guildId | No | ||
| authorId | No | Restrict to this author | |
| channelId | No |