Skip to main content

InferToolName

还没翻译译自英文(tanstack.com)本页 6 段都还没译

type InferToolName<T> = T extends object ? N : never;

Defined in: packages/ai/src/activities/chat/tools/tool-definition.ts:188

Extract the tool name as a literal type

Type Parameters

T

T