get_messages_by_date
Retrieve messages from a Matrix room within a specified date range. Filter by start and end dates to find relevant conversations.
Instructions
Get messages from a Matrix room filtered by date range. Dates are ISO 8601 strings (e.g. '2026-04-01', '2026-04-01T12:00:00Z').
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": {
"room_id": "<room_id>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_messages_by_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room_id | Yes | Room ID (e.g. !abc123:matrix.org) | |
| start_date | Yes | Start of date range (ISO 8601, inclusive) | |
| end_date | Yes | End of date range (ISO 8601, inclusive) | |
| limit | No | Max messages to return (default 50, max 500) |