Get new messages
get_new_messagesFetch messages that arrived since your last call across a Discord server, channel, category, or forum, oldest first, then pass the returned cursor to retrieve only newer messages.
Instructions
Returns messages that arrived across the server (or a channel, category or forum) since your last call, oldest first, from what Guildora received live during this session. Pass the returned next_cursor next time to get only newer ones. only_mentions keeps messages that mention or reply to the bot. For older history use recent_activity or read_messages.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_new_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild | No | Server ID or name. Optional if DISCORD_GUILD_ID is set or the bot is in one server. | |
| limit | No | Max messages (1-200, default 50). | |
| scope | No | Only this channel, thread, category or forum (ID or name). | |
| cursor | No | next_cursor from the previous call. Default: everything since startup. | |
| include_bots | No | Include bot and webhook messages (default false). | |
| only_mentions | No | Only messages that mention or reply to the bot. |