# If file is too big, provide the outline and suggest a follow-up tool \(\#28158\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/a2fbe82c42601221482e8422d7f8db5fee649b8e)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: a2fbe82c42601221482e8422d7f8db5fee649b8e

Requested commit: a2fbe82c42601221482e8422d7f8db5fee649b8e

Commit: a2fbe82c42601221482e8422d7f8db5fee649b8e

Tree: 2a97d5038bdda8be3cc8c87606822f8408945551

Author: Richard Feldman

Committer: GitHub

## Message

```
If file is too big, provide the outline and suggest a follow-up tool (#28158)

<img width="622" alt="Screenshot 2025-04-05 at 5 48 14 PM"
src="https://github.com/user-attachments/assets/24b9c7d4-d3e2-4929-bca8-79db5b4e5748"
/>

Release Notes:

- The `read_files` tool now reads only the symbol outline files above a
certain size, to conserve context window space. Then it suggests that
the agent call `read_files` again with the relevant line ranges it saw
in the outline.
```

## Parents

- [57d8c99473dc82b361f27f13c56869799a4491dc](https://git.cafe/gitcafe/zed/commit/57d8c99473dc82b361f27f13c56869799a4491dc?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/a2fbe82c42601221482e8422d7f8db5fee649b8e?format=markdown)
