TanStack

InputSchemaOf

Type Alias: InputSchemaOf<TTool>

ts
type InputSchemaOf<TTool> = TTool extends object ? TInput extends undefined ? NoSchema : TInput : NoSchema;

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

Type Parameters

TTool

TTool