retrieve_flattened
Retrieve original tool result content from a flattened session. Provide the tool_use_id and session_id from [FLATTENED] markers to get back the original text or image.
Instructions
Retrieve original tool result content from a flattened session. When you see [FLATTENED id=XXX tool=Read ... | text NNNB/NNL | session=YYY | ...] in the conversation, call this with the value after "id=" as tool_use_id and the value after "session=" as session_id. Returns the original text output, or — for flattened screenshots — the actual image so you can view it again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_use_id | Yes | Value after "id=" in the [FLATTENED id=XXX ...] marker | |
| session_id | Yes | Value after "session=" in the [FLATTENED ... session=YYY ...] marker | |
| project_dir | No | Absolute path to project. Default: the project the CLI runs in (cwd) |