read_message_range
Retrieve messages by sequence range to get exact context from a specific conversation section. Use when you need targeted context from earlier exchanges referenced by sequence numbers.
Instructions
Read messages in a specific sequence range. Zoom into a conversation section.
AUTOMATIC TRIGGERS - Call this when:
You need context from a specific point in the conversation
A message references an earlier seq number
You want to review a specific exchange between agents
DIFFERENCE from read_messages: This reads a specific range by sequence numbers, not just "new" messages. Use for targeted context retrieval.
PARAMETERS:
session_id: Session to read from
start_seq: Starting sequence number (inclusive) - get from message metadata
end_seq: Ending sequence number (exclusive) - max range is 500 messages
agent_id: Your agent ID (must belong to the session)
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": {
"session_id": "<session_id>",
"start_seq": "<start_seq>",
"end_seq": "<end_seq>",
"agent_id": "<agent_id>"
},
"name": "read_message_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_seq | Yes | ||
| agent_id | Yes | ||
| start_seq | Yes | ||
| session_id | Yes |