# bedrock: Fix empty tool input on project diagnostic in bedrock \(\#33369\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c6ff58675f79d7846c7a2f4cd7518c872032bf1f

Requested commit: c6ff58675f79d7846c7a2f4cd7518c872032bf1f

Commit: c6ff58675f79d7846c7a2f4cd7518c872032bf1f

Tree: ac32eee501a17b50d0486240d4ca7ad7124f48a0

Author: Vladimir Kuznichenkov

Committer: GitHub

## Message

```
bedrock: Fix empty tool input on project diagnostic in bedrock (#33369)

Bedrock [do not accept][1] `null` as a JSON value input for the tool
call when called back.

Instead of passing null, we will pass back an empty object, which is
accepted by API

Closes #33204

Release Notes:

- Fixed project diagnostic tool call for bedrock

[1]:
https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ToolUseBlock.html
```

## Parents

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

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