read_execution_output
Read output from previously executed shell commands using its output ID, with options to specify byte range, chunk size, and encoding for large or partial reads.
Instructions
Read retained output from a command execution. The output_id does not bypass max_output_size; output_truncated=true means additional data was discarded to protect server memory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Number of bytes to read (1B-10MB). Larger sizes may improve efficiency but use more memory. Default: 8KB. | |
| offset | No | Byte offset to start reading from (0-based). Use for reading large files in chunks or continuing from previous read. | |
| encoding | No | Character encoding for text files (utf-8, ascii, latin1, etc.). Use "binary" for non-text files. | utf-8 |
| output_id | Yes | Unique output file ID from list_execution_outputs. Use this to read a specific output file generated by command execution. |