# gemini: Fix tool schema issues when type field is array \(\#53834\) · gitcafe/zed

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

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

Visibility: public

Requested revision: dec1a2a3b855fe004a47596cb236beaf4ed256a5

Requested commit: dec1a2a3b855fe004a47596cb236beaf4ed256a5

Commit: dec1a2a3b855fe004a47596cb236beaf4ed256a5

Tree: a7d0aaa9bc97581f3907c7d8e7a617440f121b15

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
gemini: Fix tool schema issues when type field is array (#53834)

Closes #53919

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- gemini: Fixed an issue with MCP servers specifying tools with specific
schemas
```

## Parents

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

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