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

LazyToolsConfig.md

33 lines937 Bytes

Interface: LazyToolsConfig

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

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:727

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'