# anthropic: Use an empty object if no tool input is provided \(\#26144\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d0c2bef8c397d3e94ec5c09423adf19e02d9fb93

Requested commit: d0c2bef8c397d3e94ec5c09423adf19e02d9fb93

Commit: d0c2bef8c397d3e94ec5c09423adf19e02d9fb93

Tree: bada46f7b06dc5d822409f39ab7180bf516354ee

Author: Marshall Bowers

Committer: GitHub

## Message

```
anthropic: Use an empty object if no tool input is provided (#26144)

This PR changes the default value when no input is provided with a tool
use from `null` to `{}`.

This fixes an issue I was seeing where tools that didn't accept input
were not being called correctly.

Release Notes:

- N/A
```

## Parents

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

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