Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

LazyToolsConfig.md

31 lines908 Bytes

Defined in: packages/ai/src/types.ts:873

Configuration for the lazy-tool discovery catalog, shared by chat() and Code Mode. Optional in both — lazy behavior is triggered purely by tools marked lazy: true; this only tunes how much of each lazy tool's description appears in the pre-discovery catalog. The post-discovery payload always returns the full description + schema.

Properties

includeDescription?

optional includeDescription?: "full" | "first-sentence" | "none";

Defined in: packages/ai/src/types.ts:879

How much of each lazy tool's description appears in the pre-discovery catalog (the names list shown before the model discovers the tool).

Default

'none'