# Improve the \`read_file\` tool prompt for long files \(\#34542\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 313f5968ebc26ff294f04d1714f0ac6fa2a0fb15

Requested commit: 313f5968ebc26ff294f04d1714f0ac6fa2a0fb15

Commit: 313f5968ebc26ff294f04d1714f0ac6fa2a0fb15

Tree: 95cddbf7cde955ecbce13aca99b4c2ea6864af15

Author: Adam

Committer: GitHub

## Message

```
Improve the `read_file` tool prompt for long files (#34542)

Closes [#ISSUE](https://github.com/zed-industries/zed/issues/31780)

Release Notes:

- Enhanced `read_file` tool call result message for long files.
```

## Parents

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

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