read_file
Reads a file and marks it as active while automatically summarizing inactive files to their public interfaces, reducing context size for supported programming languages.
Instructions
Read a file and mark it as the active file. When you switch to a different file, the previous file is automatically summarized to just its public interface, reducing context size.
Supported languages for summarization: .rs, .py, .ts, .tsx, .js, .jsx, .php, .cs, .gd
For unsupported file types, returns full contents without tracking (same as standard file read).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file to read (absolute or relative) |