# agent: Make read_file and edit_file tool call titles more specific \(\#37639\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5f01f6d75fafce8012974f961645bc01e318c45f

Requested commit: 5f01f6d75fafce8012974f961645bc01e318c45f

Commit: 5f01f6d75fafce8012974f961645bc01e318c45f

Tree: 70f7721417b80f6aed1d756781792f067a48e7f5

Author: Cole Miller

Committer: GitHub

## Message

```
agent: Make read_file and edit_file tool call titles more specific (#37639)

For read_file and edit_file, show the worktree-relative path if there's
only one visible worktree, and the "full path" otherwise. Also restores
the display of line numbers for read_file calls.

Release Notes:

- N/A
```

## Parents

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

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