# agent_ui: Fix permissions getting granted to wrong tool call \(\#54683\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 89d2dcebbaebae2d1715d5c7127b2bd59b1f5d3f

Requested commit: 89d2dcebbaebae2d1715d5c7127b2bd59b1f5d3f

Commit: 89d2dcebbaebae2d1715d5c7127b2bd59b1f5d3f

Tree: 212c2d67b8e5e93c9e5419839b68c8ffebbff57c

Author: Tom Houlé

Committer: GitHub

## Message

```
agent_ui: Fix permissions getting granted to wrong tool call (#54683)

Release Notes:

- Fixed an issue where the first tool call would always be accepted when
parallel tool calls were made, rather than the one that was actually
clicked

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
```

## Parents

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

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