Open History to see the last commit
1---
2id: renderLazyCatalogEntry
3title: renderLazyCatalogEntry
4---
5
6```ts
7function renderLazyCatalogEntry(
8 name,
9 description,
10 includeDescription?): string;
11```
12
13Defined in: packages/ai/src/activities/chat/tools/lazy-tools.ts:22
14
15Render one entry in a lazy-tool catalog according to `includeDescription`.
16- 'none' (default) → bare name (preserves legacy chat behavior)
17- 'first-sentence' → `name — <first sentence>`
18- 'full' → `name — <full description>`
19Falls back to the bare name when there is no description.
20
21## Parameters
22
23### name
24
25`string`
26
27### description
28
29`string`
30
31### includeDescription?
32
33`"full"` \| `"first-sentence"` \| `"none"` \| `undefined`
34
35## Returns
36
37`string`