Open History to see the last commit
1---
2id: LazyToolsConfig
3title: LazyToolsConfig
4---
5
6Defined in: [packages/ai/src/types.ts:873](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L873)
7
8Configuration for the lazy-tool discovery catalog, shared by chat() and
9Code Mode. Optional in both — lazy behavior is triggered purely by tools
10marked `lazy: true`; this only tunes how much of each lazy tool's
11description appears in the pre-discovery catalog. The post-discovery payload
12always returns the full description + schema.
13
14## Properties
15
16### includeDescription?
17
18```ts
19optional includeDescription?: "full" | "first-sentence" | "none";
20```
21
22Defined in: [packages/ai/src/types.ts:879](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L879)
23
24How much of each lazy tool's description appears in the pre-discovery
25catalog (the names list shown before the model discovers the tool).
26
27#### Default
28
29```ts
30'none'
31```