# Duplicate Bot: Switch to structured tool output for Claude \(\#59432\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e5966915e461dc9ec7c388b4dbdd19a8dbd62d4e

Requested commit: e5966915e461dc9ec7c388b4dbdd19a8dbd62d4e

Commit: e5966915e461dc9ec7c388b4dbdd19a8dbd62d4e

Tree: 38c022b73a83ee70b850e11cb571a407ec8de9de

Author: Lena

Committer: GitHub

## Message

```
Duplicate Bot: Switch to structured tool output for Claude (#59432)

Rather than continuing to try to persuade Claude to pretty please only
output json, or to parse json out of Claude's prose, switch to forced
tool calls with a json schema and hope this works better.

And bump the version of the bot to 4 since the model upgrade which was
shipped earlier today is evidently behaving differently enough.

Release Notes:

- N/A
```

## Parents

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

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