Documentation
Framework
Version
Class References
Function References
Interface References
Type Alias References
Variable References

InferToolName

Type Alias: InferToolName<T>

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

Defined in: tools/tool-definition.ts:56

Extract the tool name as a literal type

Type Parameters

T

T