retoken_retrieve
Retrieve the full original of shortened or elided tool output by handle, with optional literal pattern search or line-range filters to read only the needed lines.
Instructions
Read the saved original when a ReToken marker indicates that lines you need were elided. Skip retrieval if the visible output answers the question. Pass the handle alone for the original text, search for matching lines, or request a line range. Results over 80000 UTF-8 bytes are cut and followed by a notice. Narrow the search or range to read more. A malformed, unknown, or expired handle returns a tool error: check the marker, then rerun the original command if safe and needed.
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": {
"handle": "<handle>"
},
"name": "retoken_retrieve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | Copy the handle from the ReToken marker, including ccr: and all 64 lowercase hexadecimal digits. | |
| pattern | No | Case-insensitive literal substring, e.g. ERROR. A nonempty pattern searches all lines and overrides both line bounds. Matches include their original line numbers. | |
| end_line | No | Last line to include. Defaults to the last available line and is capped there. | |
| start_line | No | First line to include, counting from 1. Defaults to the first line. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Original text, a labeled line range, or numbered search hits with a match count. No matches and out-of-range requests return an explanatory text result. |