dsh_read
Read caller prompts and assistant text messages from a session after a given sequence number, excluding injected messages, tool calls, and thinking. Use -1 to start from the beginning.
Instructions
Read caller prompts and assistant text messages of a Session with seq greater than afterSeq. Messages the app injects, tool calls, and thinking are not included.
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": {
"sessionId": "<sessionId>",
"afterSeq": "<afterSeq>"
},
"name": "dsh_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| afterSeq | Yes | Return messages after this seq. Use -1 for the start. | |
| sessionId | Yes | Session id from dsh_open_session or dsh_list_sessions. | |
| maxMessages | No | Newest messages to consider. |