read
Opens a cited message with surrounding context or pages through an entire indexed session; optionally returns redacted original transcript lines for source verification.
Instructions
Open a citation or a whole session.
ref is a cite from search ("claude:#12": shows that message with context
messages either side, the cited one marked ▶) or a session id (pages through the whole
session, ~6k tokens per page). With source=true and a cite, also returns the original
transcript lines the message came from, re-read from disk and redacted.
Args: ref: cite ("#"), session id, or a native session id / prefix. page: page number when reading a whole session. context: messages to show either side of a cited message (default 4). source: include the original transcript lines for a cite.
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": {
"ref": "<ref>"
},
"name": "read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| page | No | ||
| source | No | ||
| context | No |