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

DISCOVERY_TOOL_NAME.md

16 lines508 Bytes

1---
2id: DISCOVERY_TOOL_NAME
3title: DISCOVERY_TOOL_NAME
4---
5​
6```ts
7const DISCOVERY_TOOL_NAME: "__lazy__tool__discovery__" = '__lazy__tool__discovery__';
8```
9​
10Defined in: packages/ai/src/activities/chat/tools/lazy-tool-manager.ts:12
11​
12Name of the synthetic tool the LLM calls to discover lazy tools.
13​
14Exported so callers building custom message-compaction / history-trimming
15logic can reference the discovery tool by constant instead of hard-coding
16the string (which is an internal contract that could change).