# language_model: Add \`supports_tools\` method to \`LanguageModel\` \(\#27867\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5880271b11aab1a3c0e813db0f4ddba45ddd40d0

Requested commit: 5880271b11aab1a3c0e813db0f4ddba45ddd40d0

Commit: 5880271b11aab1a3c0e813db0f4ddba45ddd40d0

Tree: dd86629721656804dc1c16a608114fca2bb858f4

Author: Marshall Bowers

Committer: GitHub

## Message

```
language_model: Add `supports_tools` method to `LanguageModel` (#27867)

This PR adds a new `supports_tools` method to the `LanguageModel` trait
to indicate whether a given model supports tool use.

Release Notes:

- N/A
```

## Parents

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

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