Skip to content

InferToolInput

InferToolInput<TOOL> = TOOL extends Tool<infer INPUT, any> ? INPUT : never

Defined in: node_modules/.bun/@ai-sdk+provider-utils@3.0.25+27912429049419a2/node_modules/@ai-sdk/provider-utils/dist/index.d.ts:805

Infer the input type of a tool.

TOOL extends Tool