# Include root schema as parameters for tool calling \(\#10914\) · gitcafe/zed

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

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

Visibility: public

Requested revision: af5a9fabc61285883e8a6a808afc149587cfb0a2

Requested commit: af5a9fabc61285883e8a6a808afc149587cfb0a2

Commit: af5a9fabc61285883e8a6a808afc149587cfb0a2

Tree: e0d50e206b1e6795f5f891b56781280c51f24c65

Author: Kyle Kelley

Committer: GitHub

## Message

```
Include root schema as parameters for tool calling (#10914)

Allows `LanguageModelTool`s to include nested structures, by exposing
the definitions section of their JSON Schema.

Release Notes:

- N/A
```

## Parents

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

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