get-messages
Retrieve multiple Zulip messages with filters like stream, topic, sender, or search query. Supports pagination to browse conversation history.
Instructions
📋 BULK RETRIEVAL: Get multiple messages with filtering, pagination, and search. Use this to browse conversations, search for content, or get message history. Returns array of messages with basic details.
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-messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anchor | No | Starting point: message ID, 'newest', 'oldest', or 'first_unread' | |
| num_before | No | Number of messages before anchor (max 1000) | |
| num_after | No | Number of messages after anchor (max 1000) | |
| narrow | No | Filters: [['stream', 'channel-name'], ['topic', 'topic-name'], ['sender', 'email'], ['search', 'query']] | |
| message_id | No | Get specific message by ID instead of using anchor/num parameters |